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 - bossanova808 - 2013-02-01

Ok after some consultation....basically, when the AudioEngine is suspended, the bugger is being flushed. So I don't think there's anything I can do here, and most likely this will be fixed in nightlies sometime when they re-visit and cleanup the suspend/resume stuff which is a bit of a mess.

Only advice I can give is to disable GUI sounds, unfortunately - will add a note to the wiki, too.



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

(that shold read 'audio buffer isn't being flushed') !!



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

I'm running XBMC via Openelec 2, the plugin works great. When starting the HTPC (Zotac ID81) and going via ssh on it i see after running pstree the following entry:
Code:
-xbmc.bin-+-squeezeslave.se---squeezeslave---4*[{squeezeslave}]
I assume that's the plugin already started before manually starting it via the XBMC-Addon-Page.
But how can i configure it, the settings i submitted via "extra player arguments" are only valid when i start the Xsqueeze-plugin. Then i see two squeezeslaves in my network, both on the Zotac (same IP).
I would like to use the following parameter
Code:
-NM --output 5 --latency 80 192.168.1.105
immediatly on startup, so that i don't need to start and stop the xsqueeze and can always listen to music. Any chance?


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

Sounds like you mean you are just running squeezeslave as a service? did you install a squeezeslave service addon? If you have squeezeslave running on your system before you start XSqueeze, it's not coming from XSqueeze and you need to look elsewhere.

If so - you use XSqueeze in controller only mode to control this, but the squeezeslave you run separately at the OS level.

XSqueeze isn't a service, it only works by start/stop of a local player if it's doing playback - it only runs the player process while it is runnign and then kills it on exit. But you definitely can just use it as a controller only if you are running a player some other way (software like squeezeslave or hardware players for that matter).

The wiki covers all this: http://wiki.xbmc.org/index.php?title=Add-on:XSqueeze




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

I'm having a weird issue with xsqueeze. I've configured everything correctly, but when I run XSqueeze XBMC crashes. This is the relevant log:


Code:
18:11:17 T:2859445056   DEBUG: ### XSqueeze-0.8.8 ### Attempting to connect to LMS named [ 192.168.1.100] at IP:   192.168.1.100 on CLI port: 9090
18:11:17 T:2859445056   DEBUG: ### XSqueeze-0.8.8 ###  Couldn't connect to server!
18:11:17 T:2859445056   DEBUG: LocalizeStrings: no strings.po file exist at /home/xbmc/.xbmc/addons/script.xsqueeze/resources/language/English, fallback to strings.xml
18:11:17 T:2859445056   DEBUG: ### XSqueeze-0.8.8 ### XBMC Notificaton Requested: [XBMC.Notification(Couldn't connect to server!,Check your server settings,4000,/home/xbmc/.xbmc/addons/script.xsqueeze/icon.png)]
18:11:17 T:2859445056   DEBUG: ### XSqueeze-0.8.8 ### ### Failed to create SqueezePlayer object
18:11:17 T:2859445056   ERROR: Traceback (most recent call last):
18:11:17 T:2859445056   ERROR:   File "/home/xbmc/.xbmc/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 203, in __init__
18:11:17 T:2859445056   ERROR:     self.player = SqueezePlayer()
18:11:17 T:2859445056   ERROR:   File "/home/xbmc/.xbmc/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 81, in __init__
18:11:17 T:2859445056   ERROR:     self.sc.connect()
18:11:17 T:2859445056   ERROR:   File "/home/xbmc/.xbmc/addons/script.module.xsqueezecommon/lib/pylms/server.py", line 58, in connect
18:11:17 T:2859445056   ERROR:     self.telnet_connect()
18:11:17 T:2859445056   ERROR:   File "/home/xbmc/.xbmc/addons/script.module.xsqueezecommon/lib/pylms/server.py", line 66, in telnet_connect
18:11:17 T:2859445056   ERROR:     self.telnet = telnetlib.Telnet(self.hostname, self.port)
18:11:17 T:2859445056   ERROR:   File "/usr/lib/python2.7/telnetlib.py", line 211, in __init__
18:11:17 T:2859445056   ERROR:     self.open(host, port, timeout)
18:11:17 T:2859445056   ERROR:   File "/usr/lib/python2.7/telnetlib.py", line 227, in open
18:11:17 T:2859445056   ERROR:     self.sock = socket.create_connection((host, port), timeout)
18:11:17 T:2859445056   ERROR:   File "/usr/lib/python2.7/socket.py", line 553, in create_connection
18:11:17 T:2859445056   ERROR:     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
18:11:17 T:2859445056   ERROR: gaierror: [Errno -2] Name or service not known

The interesting part is that when I start squeezeplay/squeezelite manually they connect to the LMS server just fine. What is going on here?


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

There is no relevant log other than a full debug log on pastebin.

But my first quick guess is you're running LMS on the same box as XSqueeze and XBMC is hogging port 9090 with its Jason server.


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

It's not your guess since they are not in the same server and the squeezeclients can connect just fine(even with XBMC running). I'm a bit hesitant to provide a full log, since it will be hard to anonymise it. Is it okay if I sent it via PM?


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

yep sure



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

No worries Bossanova, I'll keep an eye out for this forum and the wiki page to see if it has been fixed in a nightly. Just happy you were able to reproduce it.
Thanks for the help, greatly appreciate it


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

@jaapp - one other quick idea before I get a full log - I notice there is a space at the start of your server string: named [ 192.168.1.100] - maybe that's an issue? I may not be doing a trim on the string.


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

Just pushing 0.9.0 with better Spotify browsing support.

I would really like to get some up to date feedback/debug logs of people attempting XSqueeze on OSX/XBMCbuntu/OE/Raspberry Pi machines.

As I can really only test on Windows and occasionally an OE box, with the others I am flying blind. Would definitely like to get Raspberry Pi working well as it's a natural fit for all of this...


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

hi, is there anything special one has take into consideration when debugging the audio output? i have been trying to get xsqueeze to work on an openelec box (2.99.2). So far the plugin loads fine, connects to the server (showing the artwork and a progress bar when playing) but does not output any sound.

Squeezeslave when run from cli lists 13 possible audiointerface all of which i tried to test - but so far without any luck. Also squeezeslave debug info does not show anything that allows tracing where the audio fails. Any hints? How can i suspend AE when testing squeezeslave from cli?




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

(2013-02-04, 01:07)bossanova808 Wrote: @jaapp - one other quick idea before I get a full log - I notice there is a space at the start of your server string: named [ 192.168.1.100] - maybe that's an issue? I may not be doing a trim on the string.

You have a keen eye! Not sure how that got there.. Now I'm having timeout issues, but at least I'm a step further. Smile




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

Hi,

If you need testers for Raspberry, I can help you.
For now, I have a SD car with Raspbmc and Xbian. Also try before OpenELEC. And I also use XBMC under Ubuntu.

Here I can give you this feedback.

Under Linux on notebook :
Tonight it's working. But few days before was not (hanging XBMC, log not very verbose)
But it's working if I use XBMC as a client. If asking to not be a client, I get a "cannot connect to LMS server" message in XBMC ...
Using Squeezelite

Xbian :
Tonight it's not so bad (meaning not hanging XBMC) but not working, try without client, same message
Selecting squeezelite, I get a message about registering but finally same error (and I change MAC so it's not this error)
Not try Squeezeslave (forget about this, but also not very interested as I explain under)

Raspbmc :
Was hanging just before week-end if I remember (that's why I try again Xbian, and also because of a bug in some videos)
But tonight it's working as a controller only.
As a player, error connecting to server. Same I change the MAC only and select squeezelite.

OpenELEC :
Try it maybe 2 weeks before because I see on wiki page Xsqueeze was integrated.
But I get a bad experience as they seems not using purely your plugin and the chooser if I remember was write to be broken.
This make me forget about OpenELEC (and before I was already not happy about OpenELEC on Rapberry as it seems not well think like other dedicated distributions, like local drive by default added ...)

But at least, you do a good an fast job. In few days moving a lot and integrated squeezelite is very good (I prefer it not just for direct streaming, but seeing how fast the project is growing compared to squeezeslave)
If you need some logs, I'm ok to send any logs from server or Xsqueeze.
I'm using 1 Squeezelite on NAS connected to sound system and waiting 2 raspberry to turn them as pure squeezebox.

Oh, and one advice, can you by default change the player name ? must be working with -n for squeezelite.
Will try to see if it's not this making problem.


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

@EVERYONE - I am not sure that OE RC2 (the latest) - actually includes the final 'fix' for AE suspend/resume with alsa systems. Does anyone know? I suspect not, which will make it very hard to use XSqueeze and XBMC will be hogging the audio device!

****CAN ANYONE REPORT SUCCESSFUL EASY XSqueeze PLAYBACK ON OE CURRENTLY?



@jaaapp - what sort of issues? Debug Logs!!

@xvblun - not really. basically, the easiest thing to do is exit to console and kill xbmc from running/auto-restarting -see notes here:
http://wiki.openelec.tv/index.php?title=Ssh_commands#Useful_commands

Then, run squeezelave manually and try all the outputs (also try squeezelite, alternatively!). Make sure you have your player volume turned up, and that the system volume for that output isn't muted as well - use alsamixer for that I think.

Once you know what your output string is, put it in as '-o whatever' in the command line argumaents setting for the player you use in XSqueeze.

@lunarok - thanks for all the testing. Debug logs would be super awesome if you can add those Smile I am not surprised it is all a bit broken on Pi/linux, really. I need to dig up various other machines to get it all working again, sigh.

By 'xbmc as a client' you mean in playback mode?

Debug Logs of any hangs/stops/issues appreciated - there is more in there than you might think.

What do you mean XSqueeze/OE is integrated - which wiki did you see this on?