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 - nickr - 2015-02-10

Remembered one pc had a microsd slot. Very happy with rpi2, a very significant improvement over 1. However new walking dead and premiere better call saul put paid to trying squeeze sorry. Manana.


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

I had a few minutes this morning to try it on my RPi B+. I could not load it from the zip via the OpenELEC GUI ("Dependencies not met"). So i deleted the old script.xsqueeze folder from command line and copied the extracted zip in its place.

With this build radio DOES work. I can now play MP3 and OGG radio streams.

Most of my music collection is flac, but i have a few MP3s. All play fine.

The only "problem" i noticed, and i'm not sure if it has anything to do with the build, is that if i try to use the "Music Folder" command from the remote control it causes everything to lock up (OpenELEC, LMS GUI, etc.) A reboot was required.

What else can i test for you?


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

(2015-02-08, 00:54)bossanova808 Wrote: 1) no support for multiple players (well you can sync them, and control them all at once of course) - but no mechanism to swap players as such.

2) Afraid not - the chooser is a simple xbmc plugin which just allows you to choose and drops you back.

Yo solve one and two would involve a lot of xsqueeze re-writing. Which I am not planning to do - I will try and keep it working as is, but I don't actually use it myself really, and have very limited time.

3) - yep, change the skin file basically, it's in the add dir.

OK, thanks for your response bossanova808.


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

@nickr you're off my Christmas cards list now Wink

@volleynbike - thanks very much for testing, and glad it's generally working. In terms of 'Browse Music Folder' thsi is not implemented in XSqueeze - do you mean you did this on your LMS server? Is the server running on the Pi as well? Not really sure on that one but I don't think it would relate to this version.

I will push this out...but the squeezelite static build process is a bit beyond me at the moment so I can't solve it on linux yet...so if someone with some build skills can still build linux 32/64 bti static linked builds (only the codecs need to be static linked) - that would be super awesome


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

Ok pushed out. Makes the addon a lot bigger as squeezelite goes from 300kb o 10Mb once the libraries are included. So will make it slower to download etc, but shouldn't be a big issue really.


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

Bossanova88,

This morning I notice the update available and installed it. It's working nicely. Thank you so much for all the work you have done and especially for your responsiveness!


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

No problem.

Ok, so Ralph made us some linux builds. Can someone with OE *linux* try this build:

https://dl.dropboxusercontent.com/u/108804/script.xsqueeze-1.1.8-static.zip

...and confirm mp3 playback and generally working?


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

Thought you'd like to know:

Set up OpenElec 5.0.2 on my new RPi2 yesterday and installed latest XSqueeze this morning, and all is working great so far....

Tested FLAC. MP3, DSF across nfs from my NAS, and AAC and MP3 radio streams (still need to try OGG and WMA).

Big thanks to all !!


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Haldi - 2015-02-13

(2015-02-12, 00:43)bossanova808 Wrote: Ok, so Ralph made us some linux builds. Can someone with OE *linux* try this build:

https://dl.dropboxusercontent.com/u/108804/script.xsqueeze-1.1.8-static.zip

...and confirm mp3 playback and generally working?

Does a RaspberryPi model b with OpenElec 5.0.2 count ?
It does work. I've played mp3 from internal storage and via DLNA.
At first there were some crackling noises, but i guess that happened due bandwith shortcomming. Haven't had it for the last few hours.







On another topic:
How do people exactly snyc Multiple systems in one room?
I've manually set to 150ms delay... but i'm absolutly not sure if that really is perfect or not!
Is there any special .mp3 file that is extraordinary easy to hear?
Or would it be possible to creat a special audio file which has exactly 3.000 seconds sound 3.000 seconds silence and there is a tool for Laptops which uses the internal microphone to record this from a certain position in the room and you can see if the sound is 3.000 seconds or 3.150 seconds long and then change the delay and see if it has improved ?

Greetings Haldi.


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

Thanks - really looking for feedback on a non Pi build now - so 'normal' OE linux on e.g. a Nuc or something (using the aboce linked build - https://dl.dropboxusercontent.com/u/108804/script.xsqueeze-1.1.8-static.zip)

Re sync - not sure really. Generally I'd trust my gut - if it's perfectly in sync you know it. If you have any sensation of echo or whatever, it's out of sync I'd say.

Squeezelite is pretty good at sync generally....


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Snyder - 2015-02-22

(2015-01-19, 01:01)bossanova808 Wrote: I do not know much about CEC.

Is there any python support for talking to CEC - either in general or via xbmc? If so it would not be hard to add something really.

Obviously, if you can shell script the CEC stuff, it would be easy to add a call to the script in XSqueeze.

The harder stuff would be the volume, as that normally is intercepted and goes to squeezeland instead of XBMC. But that too could be changed easily enough.

Looks like you could hack this in to XSqueeze:
https://github.com/trainman419/python-cec

If you do it in such a way as to not interfere with normal XSqueeze I'd be happy to accept a pull request for it...but I don't use CEC so I am not going to be able to help beyond pointing you to the right places etc.

I dived a little bit into python and I managed to add the hdmi support. I have just send my first pull request on github. You need to install trainman´s libcec-python-binding otherwise it won´t work.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - stoney321 - 2015-02-28

Hi

Ive been trying to get Xsqueeze working but im having some problems.
Im using Openelec 5.0.4 with kodi on RPi2. If i configure XSqueeze as a remote controller (not a player) it controls my squeezebox player fine. As soon as i try it as a player i get an error "couldn't connect to player"

Here is the log.

Code:
11:00:48 T:1549792320  NOTICE: Thread LanguageInvoker start, auto delete: false
11:00:48 T:1549792320  NOTICE: -->Python Interpreter Initialized<--
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### XSqueeze (Author: bossanova808) Starting ...
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Called as: ['']
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Installed custom keymap
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Suspended XBMC AE
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Starting local player [squeezelite], system is [arm]
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Attempting to start player: ['/storage/.kodi/addons/script.xsqueeze/resources/bin/arm/squeezelite', '-m', '00:00:00:00:00:01', '-s', '192.168.0.207']
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Path is: ['/storage/.kodi/addons/script.xsqueeze', '/storage/.kodi/addons/script.module.b808common/lib', '/storage/.kodi/addons/script.module.xsqueezecommon/lib', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/PIL', '/usr/lib/python2.7/site-packages/gtk-2.0', '/storage/.kodi/addons/script.xsqueeze/resources/lib/classes', '/storage/.kodi/addons/script.xsqueeze/resources/lib']
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Process ID for player is 1964
11:00:49 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Brief pause for dust to settle - 5
11:00:55 T:1549792320   ERROR: Traceback (most recent call last):
11:00:55 T:1549792320   ERROR:   File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 205, in __init__
11:00:55 T:1549792320   ERROR:     self.player = SqueezePlayer()
11:00:55 T:1549792320   ERROR:   File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
11:00:55 T:1549792320   ERROR:     raise Exception
11:00:55 T:1549792320   ERROR: Exception
11:00:55 T:1549792320   ERROR: Traceback (most recent call last):
11:00:55 T:1549792320   ERROR:   File "/storage/.kodi/addons/script.xsqueeze/default.py", line 368, in <module>
11:00:55 T:1549792320   ERROR:     window = NowPlayingWindow("XSqueezeNowPlaying" + version_stub + ".xml",CWD,"Default")
11:00:55 T:1549792320   ERROR:   File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 205, in __init__
11:00:55 T:1549792320   ERROR:     self.player = SqueezePlayer()
11:00:55 T:1549792320   ERROR:   File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
11:00:55 T:1549792320   ERROR:     raise Exception
11:00:55 T:1549792320   ERROR: Exception
11:00:55 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Doing Cleanup
11:00:55 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Killing player process...
11:00:55 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Pausing for 2, per request in XSqueeze settings.
11:00:57 T:1959785536  NOTICE: Found 1 Lists of Devices
11:00:57 T:1959785536  NOTICE: Enumerated PI devices:
11:00:57 T:1959785536  NOTICE:     Device 1
11:00:57 T:1959785536  NOTICE:         m_deviceName      : HDMI
11:00:57 T:1959785536  NOTICE:         m_displayName     : HDMI
11:00:57 T:1959785536  NOTICE:         m_displayNameExtra:
11:00:57 T:1959785536  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
11:00:57 T:1959785536  NOTICE:         m_channels        : FL,FR
11:00:57 T:1959785536  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
11:00:57 T:1959785536  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
11:00:57 T:1959785536  NOTICE:     Device 2
11:00:57 T:1959785536  NOTICE:         m_deviceName      : Analogue
11:00:57 T:1959785536  NOTICE:         m_displayName     : Analogue
11:00:57 T:1959785536  NOTICE:         m_displayNameExtra:
11:00:57 T:1959785536  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
11:00:57 T:1959785536  NOTICE:         m_channels        : FL,FR
11:00:57 T:1959785536  NOTICE:         m_sampleRates     : 48000
11:00:57 T:1959785536  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
11:00:57 T:1959785536  NOTICE:     Device 3
11:00:57 T:1959785536  NOTICE:         m_deviceName      : Both
11:00:57 T:1959785536  NOTICE:         m_displayName     : HDMI and Analogue
11:00:57 T:1959785536  NOTICE:         m_displayNameExtra:
11:00:57 T:1959785536  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
11:00:57 T:1959785536  NOTICE:         m_channels        : FL,FR
11:00:57 T:1959785536  NOTICE:         m_sampleRates     : 48000
11:00:57 T:1959785536  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
11:00:57 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Resumed XBMC AE
11:00:57 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### Removed custom keymap
11:00:57 T:1549792320  NOTICE: ### XSqueeze - 1.1.9 ### XSqueeze (Author: bossanova808) Exiting ....

Thanks


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

Read my signature please


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

Hi Folks

Am still looking for feedback on OE NOT PI with the static lib linked binaries for squeezelite - can anyone help?

Quote:Thanks - really looking for feedback on a non Pi build now - so 'normal' OE linux on e.g. a Nuc or something (using the aboce linked build - https://dl.dropboxusercontent.com/u/1088...static.zip)

Re sync - not sure really. Generally I'd trust my gut - if it's perfectly in sync you know it. If you have any sensation of echo or whatever, it's out of sync I'd say.

Squeezelite is pretty good at sync generally....



RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - stoney321 - 2015-03-01

Sorry i thought that i sent the right log
Here is the full debug log, i hope its the right 1 this time.

http://xbmclogs.com/pbfxt8diz

Thanks

EDIT:
Ive gone back through the setup and i must have missed somthing.

4.3.2 OpenELEC (Raspberry Pi build)
OpenELEC does not load the Raspberry Pi ALSA module by default. This change must be made in order for snd_bcm2835 to be loaded at bootup:
echo snd_bcm2835 >> /storage/.config/modules-load.d/audio.conf

As soon as i did this it worked.

Thanks