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 - 2016-11-15

? from my repo - see the wiki - http://kodi.wiki/view/Add-on:XSqueeze


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - TWART016 - 2016-11-15

You say I should upgrade (15.x) kodi to Jarvis (16.x). But Jarvis I can't find a link to download.

How can I change python to 2.1.0?

Kodi says the bossanova808's BBMC Addon is enabled. In Install from repository and you XBMC Addon there is nothing to install (Program add-ons and Skin is empty).


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

Oh right, sorry, thought you meant this addon. Openelec has been kinda replaced by libreelec so you can get your upgrade here:
https://libreelec.tv/downloads/

The current stable libreleec release is jarvis

https://libreelec.tv/downloads/


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - TWART016 - 2016-11-20

Now I installed the addon successfully. While starting the Script - XSqueeze it says: Couldn't connect to player! Check player Settings.

I configured the Server IP Adress. The other settings are default.

Code:
15:08:15 2453.187988 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### XSqueeze (Author: bossanova808) Starting ...
15:08:15 2453.188477 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Called as: ['default.py']
15:08:15 2453.190430 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Installed custom keymap
15:08:15 2453.190674 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Suspended XBMC AE
15:08:15 2453.190918 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Starting local player [squeezelite], system is [arm]
15:08:15 2453.197754 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Attempting to start player: ['/storage/.kodi/addons/script.xsqueeze/resources/bin/arm/squeezelite', '-m', '1c:48:43:ab:12:11', '-s', '192.168.178.14']
15:08:15 2453.197998 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Path is: ['/storage/.kodi/addons/script.xsqueeze', '/storage/.kodi/addons/script.module.b808common/lib', '/storage/.kodi/addons/script.module.xsqueezecommon/lib', '/usr$
15:08:15 2453.228271 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Process ID for player is 973
15:08:15 2453.228516 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Brief pause for dust to settle - 1
15:08:17 2455.240234 T:1631572896 WARNING: CSkinInfo: failed to load skin settings
15:08:18 2455.445312 T:1631572896 ERROR: Traceback (most recent call last):
15:08:18 2455.445557 T:1631572896 ERROR: File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 211, in __init__
15:08:18 2455.447021 T:1631572896 ERROR: self.player = SqueezePlayer()
15:08:18 2455.447266 T:1631572896 ERROR: File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
15:08:18 2455.447510 T:1631572896 ERROR: raise Exception
15:08:18 2455.447510 T:1631572896 ERROR: Exception
15:08:18 2455.447754 T:1631572896 ERROR: Traceback (most recent call last):
15:08:18 2455.447754 T:1631572896 ERROR: File "/storage/.kodi/addons/script.xsqueeze/default.py", line 369, in <module>
15:08:18 2455.448486 T:1631572896 ERROR: window = NowPlayingWindow("XSqueezeNowPlaying" + version_stub + ".xml",CWD,"Default")
15:08:18 2455.448486 T:1631572896 ERROR: File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 211, in __init__
15:08:18 2455.448730 T:1631572896 ERROR: self.player = SqueezePlayer()
15:08:18 2455.448730 T:1631572896 ERROR: File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
15:08:18 2455.448730 T:1631572896 ERROR: raise Exception
15:08:18 2455.448975 T:1631572896 ERROR: Exception
15:08:18 2455.449219 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Doing Cleanup
15:08:18 2455.449219 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Killing player process...
15:08:18 2455.449463 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Pausing for 2, per request in XSqueeze settings.
15:08:20 2457.475098 T:1886380960 NOTICE: Found 2 Lists of Devices
15:08:20 2457.475342 T:1886380960 NOTICE: Enumerated PI devices:
15:08:20 2457.475342 T:1886380960 NOTICE: Device 1
15:08:20 2457.475586 T:1886380960 NOTICE: m_deviceName : HDMI
15:08:15 2453.190674 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Suspended XBMC AE
15:08:15 2453.190918 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Starting local player [squeezelite], system is [arm]
15:08:15 2453.197754 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Attempting to start player: ['/storage/.kodi/addons/script.xsqueeze/resources/bin/arm/squeezelite', '-m', '1c:48:43:ab:12:11', '-s', '192.168.178.14']
15:08:15 2453.197998 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Path is: ['/storage/.kodi/addons/script.xsqueeze', '/storage/.kodi/addons/script.module.b808common/lib', '/storage/.kodi/addons/script.module.xsqueezecommon/lib', '/usr$
15:08:15 2453.228271 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Process ID for player is 973
15:08:15 2453.228516 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Brief pause for dust to settle - 1
15:08:17 2455.240234 T:1631572896 WARNING: CSkinInfo: failed to load skin settings
15:08:18 2455.445312 T:1631572896 ERROR: Traceback (most recent call last):
15:08:18 2455.445557 T:1631572896 ERROR: File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 211, in __init__
15:08:18 2455.447021 T:1631572896 ERROR: self.player = SqueezePlayer()
15:08:18 2455.447266 T:1631572896 ERROR: File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
15:08:18 2455.447510 T:1631572896 ERROR: raise Exception
15:08:18 2455.447510 T:1631572896 ERROR: Exception
15:08:18 2455.447754 T:1631572896 ERROR: Traceback (most recent call last):
15:08:18 2455.447754 T:1631572896 ERROR: File "/storage/.kodi/addons/script.xsqueeze/default.py", line 369, in <module>
15:08:18 2455.448486 T:1631572896 ERROR: window = NowPlayingWindow("XSqueezeNowPlaying" + version_stub + ".xml",CWD,"Default")
15:08:18 2455.448486 T:1631572896 ERROR: File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 211, in __init__
15:08:18 2455.448730 T:1631572896 ERROR: self.player = SqueezePlayer()
15:08:18 2455.448730 T:1631572896 ERROR: File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 116, in __init__
15:08:18 2455.448730 T:1631572896 ERROR: raise Exception
15:08:18 2455.448975 T:1631572896 ERROR: Exception
15:08:18 2455.449219 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Doing Cleanup
15:08:18 2455.449219 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Killing player process...
15:08:18 2455.449463 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Pausing for 2, per request in XSqueeze settings.
15:08:20 2457.475098 T:1886380960 NOTICE: Found 2 Lists of Devices
15:08:20 2457.475342 T:1886380960 NOTICE: Enumerated PI devices:
15:08:20 2457.475342 T:1886380960 NOTICE: Device 1
15:08:20 2457.475586 T:1886380960 NOTICE: m_deviceName : HDMI
15:08:20 2457.475586 T:1886380960 NOTICE: m_displayName : HDMI
15:08:20 2457.475586 T:1886380960 NOTICE: m_displayNameExtra:
15:08:20 2457.475586 T:1886380960 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
15:08:20 2457.475586 T:1886380960 NOTICE: m_channels : FL,FR
15:08:20 2457.475586 T:1886380960 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
15:08:20 2457.475586 T:1886380960 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
15:08:20 2457.475830 T:1886380960 NOTICE: Device 2
15:08:20 2457.475830 T:1886380960 NOTICE: m_deviceName : Analogue
15:08:20 2457.475830 T:1886380960 NOTICE: m_displayName : Analogue
15:08:20 2457.475830 T:1886380960 NOTICE: m_displayNameExtra:
15:08:20 2457.475830 T:1886380960 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:08:20 2457.475830 T:1886380960 NOTICE: m_channels : FL,FR
15:08:20 2457.475830 T:1886380960 NOTICE: m_sampleRates : 48000
15:08:20 2457.476074 T:1886380960 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
15:08:20 2457.476074 T:1886380960 NOTICE: Device 3
15:08:20 2457.476074 T:1886380960 NOTICE: m_deviceName : Both
15:08:20 2457.476074 T:1886380960 NOTICE: m_displayName : HDMI and Analogue
15:08:20 2457.476074 T:1886380960 NOTICE: m_displayNameExtra:
15:08:20 2457.476074 T:1886380960 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:08:20 2457.476074 T:1886380960 NOTICE: m_channels : FL,FR
15:08:20 2457.476318 T:1886380960 NOTICE: m_sampleRates : 48000
15:08:20 2457.476318 T:1886380960 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
15:08:20 2457.476318 T:1886380960 NOTICE: Enumerated PULSE devices:
15:08:20 2457.476318 T:1886380960 NOTICE: Device 1
15:08:20 2457.476318 T:1886380960 NOTICE: m_deviceName : Default
15:08:20 2457.476318 T:1886380960 NOTICE: m_displayName : Default
15:08:20 2457.476562 T:1886380960 NOTICE: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO)
15:08:20 2457.476562 T:1886380960 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:08:20 2457.476562 T:1886380960 NOTICE: m_channels : FL,FR
15:08:20 2457.476562 T:1886380960 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
15:08:20 2457.475586 T:1886380960 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
15:08:20 2457.475586 T:1886380960 NOTICE: m_channels : FL,FR
15:08:20 2457.475586 T:1886380960 NOTICE: m_sampleRates : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
15:08:20 2457.475586 T:1886380960 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
15:08:20 2457.475830 T:1886380960 NOTICE: Device 2
15:08:20 2457.475830 T:1886380960 NOTICE: m_deviceName : Analogue
15:08:20 2457.475830 T:1886380960 NOTICE: m_displayName : Analogue
15:08:20 2457.475830 T:1886380960 NOTICE: m_displayNameExtra:
15:08:20 2457.475830 T:1886380960 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:08:20 2457.475830 T:1886380960 NOTICE: m_channels : FL,FR
15:08:20 2457.475830 T:1886380960 NOTICE: m_sampleRates : 48000
15:08:20 2457.476074 T:1886380960 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
15:08:20 2457.476074 T:1886380960 NOTICE: Device 3
15:08:20 2457.476074 T:1886380960 NOTICE: m_deviceName : Both
15:08:20 2457.476074 T:1886380960 NOTICE: m_displayName : HDMI and Analogue
15:08:20 2457.476074 T:1886380960 NOTICE: m_displayNameExtra:
15:08:20 2457.476074 T:1886380960 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:08:20 2457.476074 T:1886380960 NOTICE: m_channels : FL,FR
15:08:20 2457.476318 T:1886380960 NOTICE: m_sampleRates : 48000
15:08:20 2457.476318 T:1886380960 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
15:08:20 2457.476318 T:1886380960 NOTICE: Enumerated PULSE devices:
15:08:20 2457.476318 T:1886380960 NOTICE: Device 1
15:08:20 2457.476318 T:1886380960 NOTICE: m_deviceName : Default
15:08:20 2457.476318 T:1886380960 NOTICE: m_displayName : Default
15:08:20 2457.476562 T:1886380960 NOTICE: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO)
15:08:20 2457.476562 T:1886380960 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:08:20 2457.476562 T:1886380960 NOTICE: m_channels : FL,FR
15:08:20 2457.476562 T:1886380960 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
15:08:20 2457.476562 T:1886380960 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
15:08:20 2457.487305 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Resumed XBMC AE
15:08:20 2457.487549 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### Removed custom keymap
15:08:20 2457.487793 T:1631572896 NOTICE: ### XSqueeze - 1.2.4 ### XSqueeze (Author: bossanova808) Exiting ....
15:08:25 2462.396973 T:1745425312 ERROR: Seek - Error( -128, 0, Success )
15:08:25 2462.397217 T:1745425312 ERROR: Read - Error( -1, 22, Invalid argument ) - Retrying
15:08:25 2462.397705 T:1745425312 ERROR: Read - Error( -1, 22, Invalid argument )
15:08:25 2462.397705 T:1745425312 WARNING: underflow: Error reading file - assuming eof
15:08:25 2462.398193 T:1745425312 ERROR: Seek - Error( -32, 0, Success )
15:08:25 2462.398438 T:1745425312 ERROR: Read - Error( -1, 22, Invalid argument ) - Retrying
15:08:25 2462.398926 T:1745425312 ERROR: Read - Error( -1, 22, Invalid argument )
15:08:25 2462.398926 T:1745425312 WARNING: underflow: Error reading file - assuming eof


The XSqueeze Chosser is running fine.


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

Next time, take note it's against forum rols to post log snippets. Post a FULL debug log (not snipped) on pastebin or similar and then provide a link.

You have, for example, cut off all your system details...which are necessary.

From what I can see, though, you're on a Raspberry Pi and you're trying to connect to an existing squeezebox as a controller (vs. running XSqueeze as a a player) - is that right?


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - TWART016 - 2016-11-21

Here is the debug log

http://pastebin.com/mGpyJT9k

Yes, kodi is running on a Raspberry Pi 3 and I want to use it for a Squeezeplayer with XSqueeze. The Squeezebox Server / Controller (Logitech Media Server , LMS) is installed on a virtual machine in the same network.

On another Pi with PiCore Player is working fine with LMS.


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

Ok, so here it is trying to start the player (which is failing clearly)

### XSqueeze - 1.2.4 ### Attempting to start player: ['/storage/.kodi/addons/script.xsqueeze/resources/bin/arm/squeezelite', '-m', '1c:48:43:ab:12:11', '-s', '192.168.178.14']

My question is why are you using that MAC address - is it a real one? If so - of what? Typically if you're using XSqueeze as a player you just use a made up MAC address.

The other thing to check is your ports - make sure e.g. Kodi json is not running on the LMS ports you have set. And also that Kodi is not hogging the audio device - It's all in the XSqueeze wiki Smile

Generally speaking, I'd siuggest SSHing in to your pi and running the above via the command line and seeing what happens - if you get it working from the command line then it's easy to trasnfer the settings back to XSqueeze.

No quotes obviously:

Code:
/storage/.kodi/addons/script.xsqueeze/resources/bin/arm/squeezelite -m  1c:48:43:ab:12:11 -s  192.168.178.14



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

(Oh BTW I have checked it lately with Jarvis and Krypton, working for both, and indeed I restored Gotham compatibility as welll...)


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - TWART016 - 2016-11-22

Now I changed the MAC to default 00:00:00:00:00:01.

With you Code I get these errors:
/storage/.kodi/addons/script.xsqueeze/resources/bin/arm/squeezelite -m 00:00:00:00:00:01 -s 192.168.178.14
[00:13:41.282029] test_open:124 playback open error: No such file or directory
[00:13:41.282369] output_init_common:373 unable to open output device


I installed Kodi with the image so did not install Json or configured something like speakers.

All ports of LMS are default.

How can I check the ports on the Pi?


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

Ok so that is saying it can't open the sound device @TWART016 I think.

You can try the output chooser in XSqueeze, or use the command line options on squeezelite - https://www.max2play.com/en/wiki/command-line-options-for-squeezelite/ (hint use -l to list the outputs available).

I am not sure on libreelec and available audio outputs - you might need to toad the sound module as per the wiki notes still, I don't know (no Pi here anymore sorry!).

Anyone want to chime in with a working pi/libreelec setup??


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - nick w - 2016-11-23

I'm about to test this, tonight or tomorrow on libreelec so will update once I have ran through some tests

Sent from my Nexus 6


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - nick w - 2016-11-25

Hi all
I am getting a funny issue
On the latest build of Millhouse Libreelec
I cant see any output devices

Lounge:~/.kodi/addons/script.xsqueeze/resources/bin/arm # squeezelite -l
Output devices:
null - Discard all samples (playback) or generate zro samples (capture)


Any ideas why i cant see anything as an output?


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

hmmm all depends on how sound is being done on libreelec I guess (i.e. not alsa perhaps?? I know little about linux sound).

Might be worth running through the other binaries here to see if any list outputs:
https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds#lllwjg7xjl1by

I presume just the *arm* one are Pi friendly @NickW

Unfortunately no Pi here right now so I can't do this directly!


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - nick w - 2016-11-26

Solved.

On RPi with libreelec (not sure if all Pi's need it) alsa needs to be activated with dtoverlay dtparam audio=on


remount /flash read-write (mount -o remount,rw /flash)
edit /flash/config.txt (nano /flash/config.txt) to add line (dtparam=audio=on)


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

@TWART016 Osee above

@NickW - great, thanks! I'll try find some time to add that to the wiki (feel free to beat me to it!)