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][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - FSM_ - 2012-03-23

OK so now I have LMS 7.7.1 installed on my Acer Aspire one. Music played a bit and then stopped; errors still in log file. Does not alwasy show the now playing and next songs, but do pay them when skipping to next track.

The start of xsqueeze:
Code:
15:46:22 T:2779720512  NOTICE: XSqueeze-0.4.3: sys.platform is linux2
15:46:22 T:2779720512  NOTICE: XSqueeze-0.4.3: ### (linux) chmod +x the Squeezeslave binaries - success
15:46:22 T:2779720512  NOTICE: XSqueeze-0.4.3: ### XSqueeze Starting ...
15:46:22 T:2779720512  NOTICE: XSqueeze-0.4.3: ### Author: bossanova808
15:46:22 T:2779720512  NOTICE: XSqueeze-0.4.3: ### Version: 0.4.3
15:46:22 T:2779720512  NOTICE: XSqueeze-0.4.3: Doing server discovery...
15:46:22 T:2779720512  NOTICE: XSqueeze-0.4.3: Calling SqueezeSlave for server discovery...['/storage/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-311-lnx26/squeezeslave', '-I']
15:46:23 T:2779720512  NOTICE: XSqueeze-0.4.3: Error, if any: /storage/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-311-lnx26/squeezeslave: /usr/lib/libasound.so.2: no version information available (required by /storage/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-311-lnx26/squeezeslave)
                                            /storage/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-311-lnx26/squeezeslave: /usr/lib/libasound.so.2: no version information available (required by /storage/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-311-lnx26/squeezeslave)
15:46:23 T:2779720512  NOTICE: XSqueeze-0.4.3: Lines returned is acronsme2:9000 (192.168.2.242)
15:46:23 T:2779720512  NOTICE: XSqueeze-0.4.3: Parsing line acronsme2:9000 (192.168.2.242)
15:46:23 T:2779720512  NOTICE: XSqueeze-0.4.3: List of servers is ['acronsme2']['192.168.2.242']
15:46:39 T:2779720512  NOTICE: Thread Background Loader start, auto delete: false
15:46:39 T:2779720512 WARNING: CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
15:46:42 T:2779720512  NOTICE: Thread XBPyThread start, auto delete: false
15:46:42 T:2779720512  NOTICE: -->Python Interpreter Initialized<--
15:46:42 T:2779720512  NOTICE: XSqueeze-0.4.3: sys.platform is linux2
15:46:42 T:2779720512  NOTICE: XSqueeze-0.4.3: ### (linux) chmod +x the Squeezeslave binaries - success
15:46:43 T:2779720512  NOTICE: XSqueeze-0.4.3: ### XSqueeze Starting ...
15:46:43 T:2779720512  NOTICE: XSqueeze-0.4.3: ### Author: bossanova808
15:46:43 T:2779720512  NOTICE: XSqueeze-0.4.3: ### Version: 0.4.3
15:46:43 T:2779720512  NOTICE: XSqueeze-0.4.3: XBMC Notificaton Requested: [XBMC.Notification(XSqueeze: Starting Local Squeezeslave Player,Please wait a moment...(up to 10 seconds)...,6000,/storage/.xbmc/addons/script.xsqueeze/icon.png)]
15:46:43 T:2779720512  NOTICE: XSqueeze-0.4.3: Starting local Squeezeslave, system is linux2
15:46:43 T:2779720512  NOTICE: XSqueeze-0.4.3: Attempting to start Squeezelave: ['/storage/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-311-lnx26/squeezeslave', '-m00:00:00:00:00:01', '192.168.2.242']
15:46:43 T:2779720512  NOTICE: XSqueeze-0.4.3: Process ID for Squeezeslave is 9284
15:46:48 T:2779720512  NOTICE: XSqueeze-0.4.3: Attempting to connect to LMS named [acronsme2] at IP:  192.168.2.242 on CLI port: 9090
15:46:50 T:3047573248  NOTICE: Samba is idle. Closing the remaining connections
15:46:50 T:2779720512  NOTICE: XSqueeze-0.4.3: LMS Logged in: True
15:46:50 T:2779720512  NOTICE: XSqueeze-0.4.3: LMS Version: 7.7.1
15:46:50 T:2779720512  NOTICE: XSqueeze-0.4.3: Attempting to connect to player: 00:00:00:00:00:01
15:46:50 T:2779720512  NOTICE: XSqueeze-0.4.3: Connected to: 00:00:00:00:00:01
15:46:50 T:2779720512  NOTICE: XSqueeze-0.4.3: Power state is: True
15:46:51 T:2779720512  NOTICE: XSqueeze-0.4.3: On Init, window id is 13000
15:46:52 T:2779720512  NOTICE: XSqueeze-0.4.3: Starting GUI update thread
15:46:52 T:2779720512  NOTICE: XSqueeze-0.4.3: Starting ArtistSlideshow thread
15:46:52 T:2855254848  NOTICE: Thread XBPyThread start, auto delete: false
15:46:52 T:2855254848  NOTICE: -->Python Interpreter Initialized<--
15:46:53 T:2804898624  NOTICE: XSqueeze-0.4.3: ### Detected song change to: u'' - triggering playlist and cover art updates...
15:46:53 T:2804898624  NOTICE: XSqueeze-0.4.3: Empty PlaylistDetails, setting current track to message about adding music...
15:46:53 T:2880432960 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
15:46:54 T:2804898624  NOTICE: XSqueeze-0.4.3: Empty PlaylistDetails, setting current track to message about adding music...
15:47:07 T:2804898624  NOTICE: Previous line repeats 32 times.
15:47:07 T:2804898624  NOTICE: XSqueeze-0.4.3: ### Detected song change to: u"Foolin'_Myself" - triggering playlist and cover art updates...
15:47:13 T:2804898624  NOTICE: XSqueeze-0.4.3: Exception!
15:47:13 T:2804898624   ERROR: Traceback (most recent call last):
15:47:13 T:2804898624   ERROR:   File "/storage/.xbmc/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 309, in updatePlaylistDetails
15:47:13 T:2804898624   ERROR:     tracknum = str(self.playlistDetails[trackOffset]['tracknum'])
15:47:13 T:2804898624   ERROR: KeyError: 'tracknum'
15:47:13 T:2804898624  NOTICE: XSqueeze-0.4.3: Exception!
15:47:13 T:2804898624   ERROR: Traceback (most recent call last):
15:47:13 T:2804898624   ERROR:   File "/storage/.xbmc/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 309, in updatePlaylistDetails
15:47:13 T:2804898624   ERROR:     tracknum = str(self.playlistDetails[trackOffset]['tracknum'])
15:47:13 T:2804898624   ERROR: KeyError: 'tracknum'
15:47:13 T:2838469440  NOTICE: Thread Jobworker start, auto delete: true
15:47:14 T:2880432960  NOTICE: Previous line repeats 1 times.
15:47:14 T:2880432960 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
15:47:14 T:2804898624  NOTICE: XSqueeze-0.4.3: Exception!
15:47:14 T:2804898624   ERROR: Traceback (most recent call last):
15:47:14 T:2804898624   ERROR:   File "/storage/.xbmc/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 309, in updatePlaylistDetails
15:47:14 T:2804898624   ERROR:     tracknum = str(self.playlistDetails[trackOffset]['tracknum'])
15:47:14 T:2804898624   ERROR: KeyError: 'tracknum'
15:47:14 T:2804898624  NOTICE: XSqueeze-0.4.3: Exception!
15:47:14 T:2804898624   ERROR: Traceback (most recent call last):
15:47:14 T:2804898624   ERROR:   File "/storage/.xbmc/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 309, in updatePlaylistDetails
15:47:14 T:2804898624   ERROR:     tracknum = str(self.playlistDetails[trackOffset]['tracknum'])
15:47:14 T:2804898624   ERROR: KeyError: 'tracknum'

more to follow...


RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - FSM_ - 2012-03-23

(post deleted)



RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-24

Ok first things first - I have been mucking about with the repo and this may have caused issues with future updates for those of you following XSqueeze.

The easiest solution is to first uninstall the bossonova808 repo and then - reinstall the latest version found on the link on the wiki addon page - http://wiki.xbmc.org/index.php?title=Add-on:XSqueeze

This should fix any breakage and allow you to receive automatic updates for XSqueeze as before. Sorry for the hassle, I jumped the gun a bit thinking it would go into the master repo easily like my other add on, I did not realise there was a policy against binaries but I guess it makes senses.




RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-24

(2012-03-23, 12:08)CreasyMonster Wrote: It seems like xsqueeze0.4.4 on osx maybe having problems showing artist/album/date in the Playlist window that have colons ':' in the track title text. The artist/album/date strings are left empty. This may happen with other special characters too, but I haven't tested yet.

CM

@CM - like I said, I can't trigger this on Windows.

@FSM_ - very odd. I was sure it would be CLI, but apparently not. (Is there are reason you're running server discovery so much? You only need to do it once really, it will then store the setting (just by the by)). Are you getting this error no matter what you play, or are you trying the same thing - there's a quote mark in that first song which might cause parsing issues (foolin' myself).

@both of you - can you upload a test track or two that raise these issues somewhere in a dropbox or something so I can try here? It would also help a lot if you made a little code change and then posted a full log to pastebin or similar...in

Code:
/resource/lib/classes/NowPlaygingWindow.py
Lines 294, 295

      #print("NPW playlistDetails is " + str(self.playlistDetails))
      #print("NPW playlist is " + str(self.playlist))

Uncomment those, trigger the issue, and psot a log, so I can see what's in the playlist in full....

Finally, if you wouldn't mind posting issues via:
http://code.google.com/p/bossanova808-xbmc-addons/issues/list

...that would be great.









RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - CreasyMonster - 2012-03-24

Quote: @both of you - can you upload a test track or two that raise these issues somewhere in a dropbox or something so I can try here? It would also help a lot if you made a little code change and then posted a full log to pastebin or similar...in

Code:
/resource/lib/classes/NowPlaygingWindow.py
Lines 294, 295

#print("NPW playlistDetails is " + str(self.playlistDetails))
#print("NPW playlist is " + str(self.playlist))

Uncomment those, trigger the issue, and psot a log, so I can see what's in the playlist in full....

Finally, if you wouldn't mind posting issues via:
http://code.google.com/p/bossanova808-xb...ssues/list

...that would be great.

Done as requested... music file can be found in Dropbox... see https://www.dropbox.com/link/17.qJL7WAbTNw?k=3e61f1310e3991fa400759b45473c2ba&eh=d659d88

Log in googlecode issues list.

CM


RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-25

Ok 0.4.5 of XSqueeze has been pushed to my repo (at V0.1) so if your force-refresh you should get this latest version which will hopefully solve all the above issues (which are all to do with files that have bad tags, e.g. no track numbers - if oyu taggerd your files properly you wouldn't see these issues Wink.






RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - FSM_ - 2012-03-25

Yup, this solved my issues - fantastic.

Thanx for a great add-on.

Could this one co-exist with the service one? Or possibly as an alternative optionally run as a service so that it runs and play music always and the GUI interface just reads he cli?


RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-25

Yep you can install the squeezeslave service addon if you want, then configure XSqueeze to point at the mac address of the local machine and that should do what you want, that's one of the scenario's described on the add on page actually as I envisaged some people would want the music to keep playing on exit etc.



RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - FSM_ - 2012-03-25

I have now done this as an experiment and it works. I would prefer to have XSqueeze administer the service because it has the option to specify additional command line parameters which the service addon does not have. Also I can see a new XSqueeze feature that restarts the service after a killall -9 - something the service add-on will never be able to do.

One thing the service add-on does do is use the mac address of the lan connection, which is cool when you add additional squeezeslave players - less configuration.


RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-25

If you want the mac address behaviour, just change the mac in the settings to match your machine. But 99% of people just want the player to stop/start and using a simple dummy MAC is the default squeezeslave way so that's what I've gone for.

I don't have a problem with XSqueeze controlling the service but before I would do this, I'd have to see a generally available (not openelec specific) squeezeslave xbmc service addon available to all in a repo somewhere...otherwise it would only be for OE users and that's just not worth the time.

Happy for you to PR to my repo with a patch though, if you want to have a swing at it.





RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - CreasyMonster - 2012-03-25

Quote:Ok 0.4.5 of XSqueeze has been pushed to my repo (at V0.1) so if your force-refresh you should get this latest version which will hopefully solve all the above issues (which are all to do with files that have bad tags, e.g. no track numbers - if oyu taggerd your files properly you wouldn't see these issues

Missing title text now fixed on osx too. Big Grin

Cheers,

CM


RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-26

Ok cool so my plan is (barring bugs) to leave XSqueeze where it is for a week or two while I consider the next step which is music choosing from within the addon.

I am wondering what people are looking for from this - I basically use New Music, Artists, and Albums to find music and really just need a fairly simple list + picture type chooser...so this is where I will start I guess.

Does anyone else have anything particular they want? No promises I will do it but I will at least factor other methods into my thinking about it all...




RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - FSM_ - 2012-03-26

In addition I use the Random mix, genres and internet radio as well. I expect that people would also want access to the music folder and playlists). Have a look at the android app SqueezeCommander. He gets a lot of the stuff on his menu directly from the server. I'm not sure one will want to build something quite so involved, but is is an interesting reference. I use it in my systems and found it very good.


RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - sdsnyr94 - 2012-03-26

My wife and I primarily use "Artists" for the local content. My wife also likes to use Pandora and internet radio.


RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - CreasyMonster - 2012-03-26

Having just left, right, up, down and select on the Apple Remote the standard XBMC remote control text entry would be great for any search dialog for the song selection. Also the ability to either play, play next or add to end of playlist would be great when selecting songs.