Kodi Community Forum
[ARCHIVED - WON'T UPDATE] XSqueeze - Squeezebox player for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [ARCHIVED - WON'T UPDATE] XSqueeze - Squeezebox player for XBMC (/showthread.php?tid=122199)



RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - xvlun - 2013-02-08

(2013-02-08, 00:33)bossanova808 Wrote: Actually it looks like it is running ok there - I thinkmayeb you're not using Confluence or something? It's hitting an error of not being able to find the volume control. Oh, ok I think I know what that is...easy fix....but the player starts and connects ok, there's no crash, so I don't think it's an AE issue. I think maybe you need to unmute the sound for that output in alsamixer, as a guess.

in amixer everything is unmuted, except for mic and capture devices.

and if I disable xbmc by
Quote:touch /var/lock/xbmc.disabled
killall -9 xbmc.bin

squeezeslave works fine, when called using the same parameters as in Xsqueeze. so in some way xbmc seems to be the problem.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2013-02-08

But Xsqueeze fires up - and you see the time moving on etc? Can you choose music and what not?



RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - waynec42 - 2013-02-08

(2013-02-08, 11:10)bossanova808 Wrote: Try reading all the wiki stuff first: http://wiki.xbmc.org/index.php?title=Add-on:XSqueeze

And then maybe post something resembling a decent bug report so I can help....like with some details and a debug log.

Thanks for the reply.

I've had a read through the wiki already, but still none the wiser :-).

I'm running XBMC on Apple TV. What kind of info would you need in the bug report. How do I do a debug log.

Sorry for the questions, but I'm just a hack doing my best to make it work for me.

Cheers.


[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2013-02-08

Full platform and version details and check the xbmc wiki for debug log instructions


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - xvlun - 2013-02-08

(2013-02-08, 11:14)bossanova808 Wrote: But Xsqueeze fires up - and you see the time moving on etc? Can you choose music and what not?

time is moving, artwork appears, no error messages during the start of xsqueeze.pause/play works - havent tried anything else.


[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2013-02-08

Ok well nothing is blocking the output as such then. The players will crash if the output can't be held. Are you sure you are using the right output string? Can you do a debug log with latest version? And try lite?


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - xvlun - 2013-02-09

i have now switched to squeezelite, deleted the settings.xml from the script folder and started over.

the observed behaviour is different now. xsqueeze fails to start complaining about a script error. to me it looks like the device is now officially blocked.

logs: http://xbmclogs.com/show.php?id=34033&hash=36257413

again, if i disable xbmc and call squeezelite from the cli using the same settings, it works like a charm.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - waynec42 - 2013-02-09

(2013-02-08, 11:54)bossanova808 Wrote: Full platform and version details and check the xbmc wiki for debug log instructions

AppleTV2
OS Darwin 11.0.0
XBMC Version - 11.0-RC2

Here is part of the debug log. Please let me know if this is enough of the log since the whole log is quite long, as you probably are aware. I've copied what I think is the part where the error occurs.

Thanks for your help.

09:31:37 T:98140160 DEBUG: Instantiating addon using automatically obtained id of "script.xsqueeze" dependent on version 2.0 of the xbmc.python api
09:31:38 T:121434112 DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Player.GetActivePlayers","id":"1"}
09:31:38 T:121434112 DEBUG: JSONRPC: Calling player.getactiveplayers
09:31:38 T:98140160 DEBUG: ### XSqueeze-0.9.5 ### XSqueeze-0.9.5: ### uname is: ('Darwin', 'Apple-TV', '11.0.0', 'Darwin Kernel Version 11.0.0: Tue Nov 1 20:33:58 PDT 2011; root:xnu-1878.4.46~1/RELEASE_ARM_S5L8930X', 'AppleTV2,1')
09:31:38 T:98140160 DEBUG: ### XSqueeze-0.9.5 ### XSqueeze-0.9.5: ### System is osx
09:31:38 T:98140160 DEBUG: ### XSqueeze-0.9.5 ### chmod +x the player binary - success
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### XSqueeze (Author: bossanova808) ********************* Starting ...
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### Called as: ['']
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### Installed custom keymap
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### Unable to suspend XBMC AE: 'module' object has no attribute 'audioSuspend'
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### Starting local player [squeezeslave], system is [osx]
09:31:38 T:98140160 DEBUG: ### XSqueeze-0.9.5 ### XBMC Notificaton Requested: [XBMC.Notification(Starting XSqueeze and Connecting to LMS,Please wait a moment...(up to 10 seconds)...,4000,/var/mobile/Library/Preferences/XBMC/addons/script.xsqueeze/icon.png)]
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### Attempting to start player: ['/var/mobile/Library/Preferences/XBMC/addons/script.xsqueeze/resources/bin/osx/squeezeslave', '-m00:00:00:00:00:01', '192.168.2.17']
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### Path is: ['/var/mobile/Library/Preferences/XBMC/addons/script.xsqueeze', '/var/mobile/Library/Preferences/XBMC/addons/script.module.t0mm0.common/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.demjson/lib', '/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.simplejson/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.b808common/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.xsqueezecommon/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.myconnpy/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib', '/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.common.plugin.cache/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.simple.downloader/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.free.cable.database/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.coveapi/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.requests/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.buggalo/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.parsedom/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib', '/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib', '/var/mobile/Library/Preferences/XBMC/addons/script.module.metahandler/lib', '/var/stash/Applications/XBMC.frappliance/Frameworks', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python26.zip', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload', '/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages', '', '/var/mobile/Library/Preferences/XBMC/addons/script.xsqueeze/resources/lib/classes', '/var/mobile/Library/Preferences/XBMC/addons/script.xsqueeze/resources/lib']
09:31:38 T:103022592 INFO: Loading special://xbmc/system/keymaps/appcommand.xml
09:31:38 T:103022592 INFO: Loading special://xbmc/system/keymaps/gamepad.xml
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### Failed creating player process!
09:31:38 T:98140160 NOTICE: ### XSqueeze-0.9.5 ### Exception:
09:31:38 T:98140160 ERROR: Traceback (most recent call last):
09:31:38 T:98140160 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.xsqueeze/default.py", line 173, in <module>
09:31:38 T:98140160 ERROR: slaveProcess = subprocess.Popen(exe, shell=False)
09:31:38 T:98140160 ERROR: File "/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/subprocess.py", line 633, in __init__
09:31:38 T:98140160 ERROR: errread, errwrite)
09:31:38 T:98140160 ERROR: File "/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/subprocess.py", line 1134, in _execute_child
09:31:38 T:98140160 ERROR: _eintr_retry_call(os.waitpid, self.pid, 0)
09:31:38 T:98140160 ERROR: File "/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/subprocess.py", line 465, in _eintr_retry_call
09:31:38 T:98140160 ERROR: return func(*args)
09:31:38 T:98140160 ERROR: OSError: [Errno 10] No child processes
09:31:38 T:98140160 DEBUG: ### XSqueeze-0.9.5 ### XBMC Notificaton Requested: [XBMC.Notification(Failed to create player process,On OE/Linux/OSX you probably need to manually chmod +x the binaries,4000,/var/mobile/Library/Preferences/XBMC/addons/script.xsqueeze/icon.png)]
09:31:38 T:103022592 INFO: Loading special://xbmc/system/keymaps/joystick.Alienware.Dual.Compatible.Controller.xml
09:31:38 T:103022592 INFO: Loading special://xbmc/system/keymaps/joystick.AppleRemote.xml
09:31:38 T:98140160 INFO: -->Python script returned the following error<--
09:31:38 T:98140160 ERROR: Error Type: <type 'exceptions.OSError'>
09:31:38 T:98140160 ERROR: Error Contents: [Errno 10] No child processes
09:31:38 T:103022592 INFO: Loading special://xbmc/system/keymaps/joystick.Harmony.xml
09:31:38 T:98140160 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/script.xsqueeze/default.py", line 182, in <module>
output, result = subprocess.Popen(exe, stdout = subprocess.PIPE, stderr = subprocess.PIPE, shell=False).communicate()
File "/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/subprocess.py", line 1134, in _execute_child
_eintr_retry_call(os.waitpid, self.pid, 0)
File "/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/subprocess.py", line 465, in _eintr_retry_call
return func(*args)
OSError: [Errno 10] No child processes
09:31:39 T:103022592 INFO: Loading special://xbmc/system/keymaps/joystick.Interact.AxisPad.xml
09:31:39 T:98140160 INFO: -->End of Python script error report<--




RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - sdsnyr94 - 2013-02-09

waynec42 - I think you may have missed this in the wiki : ATV2/iOS - Controller mode supported, no local playback support/

In your log, it is trying to start squeezeslave, which will not run in iOS. Set to controller only, and you can use XSqueeze to control other Squeezebox players.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2013-02-09

@waynec42 Yeah - ATV2 - you said AppleTV above, not the important two bit (kina like you chopped off oyur log rather than submitting it to pastebin, getting read of a lot of useful info - when you do a debug log - akways post the whole thing to pastebin and then post a link here - it's in the forum rules, jsut BTW).

Anyway - ATV2 - no playback, sorry - well I know Squeezeslave won't do it - maybe there is a an appropriate Squeezelite binaryHuh If you can find one, I am happy to help make it work....triode, the Squeezelite dev. on the Squeezebox forums, is very very responsive so maybe ask him?

@xvlun - there is no output string specified on the first run:
### XSqueeze-0.9.5 ### Attempting to start player: ['/storage/.xbmc/addons/script.xsqueeze/resources/bin/linux/squeezelite-i64', '-m', '00:00:00:00:00:16', '127.0.0.1']

On the second run (etc.) yes that device is busy - even though AE says it is suspended, I don't think it actually releases the device indeed. Have you experimented with other devices?? There are a few alternatives listed at the top. I presume you have. I think you might need to ask sraue over at openelec if that patch is in and why it may not be working.

I also know they are still working on this and talking about a 12.1 release as there are some definite glitches they need to solve...

Can you try XBMCuntu instead maybe? I have reports that works....




RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - xvlun - 2013-02-09

(2013-02-09, 04:11)bossanova808 Wrote: I also know they are still working on this and talking about a 12.1 release as there are some definite glitches they need to solve...

i have compiled a newer version of openelec (git cloned yesterday evening) and the problem is fixed now. thanks for the help. If anybody is interested in the working openelec nightly, i can upload it somewhere.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2013-02-10

Great!

Looks like overnight a huge AE/Alsa fixup was committed to the main XBMC repo ... I wonder whether or not your OE has this already? ha - looks like it does:
https://github.com/OpenELEC/OpenELEC.tv/commit/7f2c5787dbfb7024c5031c10434b57c55b0953ba

Hence the now working status, I'd say. So looks like RC3+ of OE will be fine, meaning basically all the platforms will be working again. Yay!




Re: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Martijn - 2013-02-10

That's an old version and not the one merged


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2013-02-11

Yeah looks like there are some more things in the pipeline but clearly it's on the radar to get fixed before Openelec Frodo Final comes out so that's excellent from the XSqueeze perspective.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - jaapp - 2013-02-12

Finally had some time to play with xsqueeze again. Never got it to work yet (always have time-outs). Now I suddenly have ALSA errors as well. So there seem to be two problems. I have no clue where to look further. Any help?

edit: log removed