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

  Thread Rating:
  • 3 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
FSM_ Offline
Junior Member
Posts: 14
Joined: Mar 2012
Reputation: 0
Post: #211
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...
(This post was last modified: 2012-03-23 16:18 by FSM_.)
find quote
FSM_ Offline
Junior Member
Posts: 14
Joined: Mar 2012
Reputation: 0
Post: #212
(post deleted)
(This post was last modified: 2012-03-23 17:13 by FSM_.)
find quote
bossanova808 Offline
Donor
Posts: 2,239
Joined: Sep 2009
Reputation: 34
Location: Melbourne, Australia
Post: #213
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.

My XBMC stuff:
find quote
bossanova808 Offline
Donor
Posts: 2,239
Joined: Sep 2009
Reputation: 34
Location: Melbourne, Australia
Post: #214
(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-xb...ssues/list

...that would be great.

My XBMC stuff:
find quote
CreasyMonster Offline
Junior Member
Posts: 20
Joined: Mar 2012
Reputation: 0
Post: #215
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.qJL7WAbT...eh=d659d88

Log in googlecode issues list.

CM
find quote
bossanova808 Offline
Donor
Posts: 2,239
Joined: Sep 2009
Reputation: 34
Location: Melbourne, Australia
Post: #216
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.

My XBMC stuff:
find quote
FSM_ Offline
Junior Member
Posts: 14
Joined: Mar 2012
Reputation: 0
Post: #217
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?
find quote
bossanova808 Offline
Donor
Posts: 2,239
Joined: Sep 2009
Reputation: 34
Location: Melbourne, Australia
Post: #218
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.

My XBMC stuff:
find quote
FSM_ Offline
Junior Member
Posts: 14
Joined: Mar 2012
Reputation: 0
Post: #219
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.
(This post was last modified: 2012-03-25 08:39 by FSM_.)
find quote
bossanova808 Offline
Donor
Posts: 2,239
Joined: Sep 2009
Reputation: 34
Location: Melbourne, Australia
Post: #220
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.

My XBMC stuff:
find quote
CreasyMonster Offline
Junior Member
Posts: 20
Joined: Mar 2012
Reputation: 0
Big Grin  RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay
Post: #221
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
find quote
bossanova808 Offline
Donor
Posts: 2,239
Joined: Sep 2009
Reputation: 34
Location: Melbourne, Australia
Post: #222
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...

My XBMC stuff:
find quote
FSM_ Offline
Junior Member
Posts: 14
Joined: Mar 2012
Reputation: 0
Post: #223
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.
find quote
sdsnyr94 Offline
Fan
Posts: 494
Joined: Aug 2009
Reputation: 2
Location: Greensboro, NC
Post: #224
My wife and I primarily use "Artists" for the local content. My wife also likes to use Pandora and internet radio.
(This post was last modified: 2012-03-26 17:02 by sdsnyr94.)
find quote
CreasyMonster Offline
Junior Member
Posts: 20
Joined: Mar 2012
Reputation: 0
Post: #225
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.
find quote
Post Reply