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 - 2014-06-10

If it's a script, the options will come come in as $1, $2 etc - so just don't pass them through when you call squeezelite - or as nickr said, pass them through rather than use the defaults file - either way it shouldn't prevent the script from being run. I just don't know if it's ok to swap in a script though - as we're using Python's subprocess to start the process and I have no idea if that works with scripts.

If you can munge together some python that makes it work, I can look at integrating it (or you can via pull request) - but honestly I wouldn't even really know where to start with testing it as I don't have a similar set up.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Saran - 2014-06-14

Hi,

I'm running Gotham on Raspbmc and can't install XSqueeze.

I've installed bossanova808 repo and through it I've been able only to install XSqueezeChooser. The XSqueeze says Incompatible.

Same thing when I try installing XSqueeze via zip --> fails with missing dependencies.

This is what I found from log:

Code:
17:23:19 T:3036745728   ERROR: SQL: The database disk image is malformed
                                            Query: select repo.addonID from repo join addonlinkrepo on repo.id=addonlinkrepo.idRepo join addon on addonlinkrepo.idAddon=addon.id where addon.addonID like 'plugin.program.xsqueezechooser'
17:23:19 T:3036745728   ERROR: GetRepoForAddon failed for addon plugin.program.xsqueezechooser
17:23:19 T:2808083520   ERROR: SQL: The database disk image is malformed
                                            Query: select repo.addonID from repo join addonlinkrepo on repo.id=addonlinkrepo.idRepo join addon on addonlinkrepo.idAddon=addon.id where addon.addonID like 'plugin.program.xsqueezechooser'
17:23:19 T:2808083520   ERROR: GetRepoForAddon failed for addon plugin.program.xsqueezechooser
17:23:21 T:2808083520   ERROR: SQL: The database disk image is malformed
                                            Query: select repo.addonID from repo join addonlinkrepo on repo.id=addonlinkrepo.idRepo join addon on addonlinkrepo.idAddon=addon.id where addon.addonID like 'script.module.xsqueezecommon'
17:23:21 T:2808083520   ERROR: GetRepoForAddon failed for addon script.module.xsqueezecommon
17:23:22 T:2808083520   ERROR: SQL: The database disk image is malformed
                                            Query: select repo.addonID from repo join addonlinkrepo on repo.id=addonlinkrepo.idRepo join addon on addonlinkrepo.idAddon=addon.id where addon.addonID like 'script.module.xsqueezecommon'
17:23:22 T:2808083520   ERROR: GetRepoForAddon failed for addon script.module.xsqueezecommon
17:23:24 T:2808083520   ERROR: SQL: The database disk image is malformed
                                            Query: select repo.addonID from repo join addonlinkrepo on repo.id=addonlinkrepo.idRepo join addon on addonlinkrepo.idAddon=addon.id where addon.addonID like 'script.module.b808common'
17:23:24 T:2808083520   ERROR: GetRepoForAddon failed for addon script.module.b808common
17:23:24 T:2808083520   ERROR: SQL: The database disk image is malformed
                                            Query: select repo.addonID from repo join addonlinkrepo on repo.id=addonlinkrepo.idRepo join addon on addonlinkrepo.idAddon=addon.id where addon.addonID like 'script.module.b808common'
17:23:24 T:2808083520   ERROR: GetRepoForAddon failed for addon script.module.b808common



RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2014-06-15

Looks like your Addons.db is broken

7:23:22 T:2808083520 ERROR: SQL: The database disk image is malformed
Query: select repo.addonID from repo join addonlinkrepo on repo.id=addonlinkrepo.idRepo join addon on addonlinkrepo.idAddon=addon.id where addon.addonID like 'script.module.xsqueezecommon'

...you should just be able to delete, wait a bit, it will be re-made.

\userdata\Database\Addons16.db is the file I mean. Quit xbmc, delete it, re-start it, wait a bit (or force refresh my repo) - and it should be ok with any luck. It's not an xsqueeze issue, anyway.

Though I am still not 100% on raspbmc indlucing alsa - I am pretty sure OE now does and most reports are that OR on Rasp Pi is the way to go in general


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Saran - 2014-06-15

Thanks bossanova808. That fixed it Smile

As for the OpenElec, I used it, but it was too cut-down for my appetite (i.e. for easily using Raspi GPIO)


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2014-06-15

no probs, glad you're going!


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - nevillebartos - 2014-07-03

Hey guys I've got an odd issue here since upgrading to gotham.. I'm now unable to get sound out over HDMI through either client, I have tried forcing sound device and tested all possible HDMI outputs but nothing. It comes over optical no problem which leaves me baffled.


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

You'll want to use the new output chooser in settings if you haven't.

But I asm guessing you have. Best thing to do then is to drop back to the command line and work it out there - once you have it there it should be easy to copy the settings back in to xsqueeze...

Also, make sure all gui sounds/keep alive settings are OFF so xbmc releases the audio device...


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - nevillebartos - 2014-07-03

(2014-07-03, 05:29)bossanova808 Wrote: You'll want to use the new output chooser in settings if you haven't.

But I asm guessing you have. Best thing to do then is to drop back to the command line and work it out there - once you have it there it should be easy to copy the settings back in to xsqueeze...

Also, make sure all gui sounds/keep alive settings are OFF so xbmc releases the audio device...

It was switching GUI sounds to 'never' that fixed it.. kinda like the GUI sounds though, any workarounds for this?


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

I think for GUI sounds they feel they have to hang on to the device...maybe ask the audioengine folks (fernetmenta/fritsch)


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - nitraw - 2014-08-10

I'm having the same Problem GemNEye described in the multiroom audio thread: XSqueeze hangs on exit.
As bossanova808 stated in that thread artist slideshow seems to be causing the problem (see log excerpt below). I'm posting this here because from the log file it seems that Artist Slidwhow is in fact stopped, but XSqueeze doesn't seem to notice (I might be wrong).

A little info about my setup and a detailed description:
I'm running three instances of XBMC using a central DB on my Synology Diskstation. One Instance runs on Windows 8, one on Windows 7 (both x64) and one is Openelec 4.0.7 (x64). Yesterday I installed the LMS package on my diskstation to try out multiroom audio and to get spotify to my xbmc boxes (using triode plugin). After some fiddling around with other packages on my NAS (one of them was already using port 9090) I finally got everything running ... until I tried to exit XSqueeze. It tells me to wait for up to 10 seconds, but nothing happens and after that I only get the "cool your jets" message and have to kill xbmc. this happens on my Win8 machine as well as on openelec, haven't tried it on Win7 yet.
Here is a list of things I tried:
- setting XSqueeze as an icon under Music or Programs
- disabling all the options in artist slideshow (so it essentially does nothing, didn't work so I reverted to my previous settings)
- Of course I disabled GUI sounds and audio device keep alive
- reinstalling both xsqueeze and artist slideshow
- rebooting my machines

Now, I'm not someone to give up easily but this problem does not seem to be very common (my google-fu only found GemNEye's posts) and it's happening on two very differnt boxes for me.

Any help would be much appreciated.

Code:
10:17:22 T:1764   DEBUG: ### XSqueeze-1.1.1 ### onClick() event, Control is: [2599], buttonName is [BUTTON_EXIT] actionSqueeze is: []
10:17:22 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Button event: EXIT
10:17:22 T:1764   DEBUG: ### XSqueeze-1.1.1 ### ### XSqueeze XBMC Action: Close
10:17:22 T:1764   DEBUG: ### XSqueeze-1.1.1 ### XBMC Notificaton Requested: [XBMC.Notification(Shutdown - Stopping Local Player and Slideshow,Please wait a moment...(up to 10 seconds)...,4000,C:\Users\tim\AppData\Roaming\XBMC\addons\script.xsqueeze\icon.png)]
10:17:22 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Cleanup - cleaning covers, playlist and waiting on artist.slideshow to signal finish...
10:17:22 T:1904   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
10:17:22 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Waiting for artistslideshow to stop
10:17:22 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:17:25 T:3384   DEBUG: Previous line repeats 3 times.
10:17:25 T:3384   DEBUG: [Artist Slideshow] timeout error while downloading from http://www.theaudiodb.com/api/v1/json/193621276b2d731671156g/artist-mb.php
10:17:25 T:3384   DEBUG: [Artist Slideshow] HTTPConnectionPool(host='www.theaudiodb.com', port=80): Read timed out. (read timeout=10)
10:17:25 T:3384   DEBUG: [Artist Slideshow] -----URL OBJECT RETURNED-----
10:17:25 T:3384   DEBUG: [Artist Slideshow] checking the source htbackdrops with a value of false.
10:17:25 T:3384   DEBUG: [Artist Slideshow] downloading images
10:17:25 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow set to C:\Users\tim\AppData\Roaming\XBMC\addons\script.artistslideshow/resources/black
10:17:25 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.ArtistBiography set to
10:17:25 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.1.SimilarName set to
10:17:25 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.1.SimilarThumb set to
10:17:25 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.1.AlbumName set to
10:17:25 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.1.AlbumThumb set to

--- Several similar lines cut (the last 4 lines are repeated with the number after ArtistSlideshow increasing up to 50) ---

10:17:26 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:17:26 T:1904   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
10:17:27 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:17:28 T:1904   DEBUG: CWinEventsWin32::WndProcWindow is active
10:17:28 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:17:28 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshowRunning set to
10:17:29 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:17:29 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow set to C:\Users\tim\AppData\Roaming\XBMC\addons\script.artistslideshow/resources/black
10:17:29 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.ArtistBiography set to
10:17:29 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.1.SimilarName set to
10:17:29 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.1.SimilarThumb set to
10:17:29 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.1.AlbumName set to
10:17:29 T:3384   DEBUG: [Artist Slideshow] ArtistSlideshow.1.AlbumThumb set to

--- Several similar lines cut (the last 4 lines are repeated with the number after ArtistSlideshow increasing up to 50) ---

10:17:29 T:3384   DEBUG: [Artist Slideshow] unexpected error while setting property.
10:17:29 T:3384   DEBUG: [Artist Slideshow] global name 'slideshow' is not defined
10:17:29 T:3384  NOTICE: [Artist Slideshow] script stopped
10:17:29 T:3384    INFO: CPythonInvoker(8, C:\Users\tim\AppData\Roaming\XBMC\addons\script.artistslideshow\default.py): script successfully run
10:17:29 T:3384    INFO: Python script stopped
10:17:29 T:3384   DEBUG: Thread LanguageInvoker 3384 terminating
10:17:30 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:17:32 T:1904   DEBUG: Previous line repeats 1 times.
10:17:32 T:1904   DEBUG: ------ Window Deinit (Pointer.xml) ------
10:17:32 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:17:34 T:1904   DEBUG: Previous line repeats 1 times.
10:17:34 T:1904   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
10:17:34 T:2964   DEBUG: Thread JobWorker 2964 terminating (autodelete)
10:17:34 T:4604   DEBUG: Thread JobWorker 4604 terminating (autodelete)
10:17:34 T:4616   DEBUG: Thread JobWorker 4616 terminating (autodelete)
10:17:34 T:812   DEBUG: Thread JobWorker 812 terminating (autodelete)
10:17:34 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:18:49 T:1904   DEBUG: Previous line repeats 74 times.
10:18:49 T:1904   DEBUG: ------ Window Init (Pointer.xml) ------
10:18:49 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:18:54 T:1904   DEBUG: Previous line repeats 4 times.
10:18:54 T:1904   DEBUG: CJoystick::Initialize : No Joystick found
10:18:54 T:1904   DEBUG: CWinEventsWin32::WndProcWindow is active
10:18:54 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:18:54 T:1904   DEBUG: CApplication::ProcessMouse: trying mouse action leftclick
10:18:55 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop
10:18:57 T:1904   DEBUG: Previous line repeats 1 times.
10:18:57 T:1904   DEBUG: CWinEventsWin32::WndProcWindow is active
10:18:57 T:1764   DEBUG: ### XSqueeze-1.1.1 ### Still waiting for artistslideshow to stop

Best regards,
Tim


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

Hmm, I just tried it with Gotham 13.2 RC1, latest xsqueeze and artist slideshow and it exited without an issue. Windows 7.

Can you post a full debug log maybe?

also you could adjust around line 710ish in NowPlayingWindow.py to look like:

Code:
#wait here for Artist slideshow to finish, can occasionally take several seconds
        log("Waiting for artistslideshow to stop")
        count = 0
        while (not xbmcgui.Window(xbmcgui.getCurrentWindowId()).getProperty("ArtistSlideshow.CleanupComplete") == "True" and count < 10):
          log("Still waiting for artistslideshow to stop")
          count+=1
          xbmc.sleep(1000)

Which will force it to close after 0 seconds of waiting (closing without stopping AS used to crash XBMC though, so you may see this happening).

Let me know how you go - but a full debug log is the way to go, on pastebin...


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - sea3pea0 - 2014-08-13

(2014-08-11, 02:16)bossanova808 Wrote: Hmm, I just tried it with Gotham 13.2 RC1, latest xsqueeze and artist slideshow and it exited without an issue. Windows 7.

Can you post a full debug log maybe?

also you could adjust around line 710ish in NowPlayingWindow.py to look like:

Code:
#wait here for Artist slideshow to finish, can occasionally take several seconds
        log("Waiting for artistslideshow to stop")
        count = 0
        while (not xbmcgui.Window(xbmcgui.getCurrentWindowId()).getProperty("ArtistSlideshow.CleanupComplete") == "True" and count < 10):
          log("Still waiting for artistslideshow to stop")
          count+=1
          xbmc.sleep(1000)

Which will force it to close after 0 seconds of waiting (closing without stopping AS used to crash XBMC though, so you may see this happening).

Let me know how you go - but a full debug log is the way to go, on pastebin...

I was having the same problem of hanging upon exit. I changed the code as you suggested and that fixed it. Thanks


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - sea3pea0 - 2014-08-13

(2014-05-15, 17:36)cw-kid Wrote: Hello

Are there any limitations or stuff that won't work when using an "external" SqueezeLite player?

I installed SqueezeLite to run as a service on my OpenElec Frodo PC. I have configured XSqueeze to use this player and I am able to see the now playing screen and access the list of Albums / Artists / Genres etc.

However I have just noticed I cannot see the transport controls at the bottom as shown in this screen shot from the wiki

Image

Thanks

EDIT: Should probably say I have no keyboard or mouse attached to my PC, using a remote control only.

This is how the screen looks on my PC

Image

So not sure if I have any playback control over what is playing ?

EDIT 2:

On my remote control handset the play / pause buttons work OK. If I press the skip next track button it does skip to the next track but XBMC popup says "Playlist - Can't find next item to play"

So seems I have some basic playback controls when using the remote control handset. Just not seeing any transport controls on the screen like in the wiki screen shot.

I have the same problem with the controls not appearing on screen. I have mouse/touch controls enabled in the addons settings, but that didn't help.


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

Are you using an externally installed player or the 'inbuilt' one?


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - sea3pea0 - 2014-08-13

I'm using the inbuilt squeezelite player. If I use the left/right buttons on the remote, after pressing left or right a bunch of times as the cursor passes over the repeat icon and the shuffle icon they become visible. So it appears the buttons are there, but just not visible.