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 - 2012-09-21

Ok so if you're brave - https://dl.dropbox.com/u/108804/staging.zip

Basically, most of those controls should work (note shuffle/repeat work but don't give feedback).

Craploads of debugging in the log and no real though about control placement etc, it's purely just a POC to see if these buttons work with touch ok....test and let me know and if OK I will try and stay motivated to do more work on something I will likely never use Wink


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

(you need to update both the addons in that zip)



RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - illiac4 - 2012-09-21

Hi. I have did a quick test.
I have tested it on 7 inch display.
1. The buttons should be bigger and there should be some more space between them.
2. The button that is really needed for touch screen is simulation of keyboard (i). Otherwise you can not get to the menu. For example button with name (Menu) or. something.
3. Also it would be nice if the playing slider would be thicker and would response to the touch.
4. Also a volume bar would be nice.
5. Exit button.

And it looks that there is no sound output. Hmmm. It shows that it plays but there is no sound. And yes i have set in settings to only option Auto. Otherwise the sound in XBMC works.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - lordashram - 2012-09-22

I only use XSqueeze to play my favorite stations from Slacker radio but since the update from 0.6.6 to 0.7.1 XSqueeze no longer displays the artist nor song.
Here is a debug log if needed:
http://pastebin.com/vffpu7Dr


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

@illiac4

The sound in xbmc is in no way related to XSqueeze playback. Try getting squeezeslave running from the command line (e.g. by specifying a particular output) - then

Note, there won't be sound available on unsupported platforms obviously, i.e. those where squeezeslave doesn't run. I.e. iOS, and I have no idea about your O2 thing and what that runs.

The rest noted...if I can be bothered. By menu you mean the music chooser right? I'll definitely put that in of course. Volume might be tricky, but I will try, might jsut need a + and - buttons rather than a slider...

@lordashram

Hmmm, not immediately sure what that could be - I will look at recent changes to see if I can find anything...




RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - illiac4 - 2012-09-23

O2 Joggler runs on Ubuntu 12.04. Will look into it because it was already working on it.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - illiac4 - 2012-09-23

(2012-09-22, 13:59)bossanova808 Wrote: @illiac4

The sound in xbmc is in no way related to XSqueeze playback. Try getting squeezeslave running from the command line (e.g. by specifying a particular output) - then

Note, there won't be sound available on unsupported platforms obviously, i.e. those where squeezeslave doesn't run. I.e. iOS, and I have no idea about your O2 thing and what that runs.

The rest noted...if I can be bothered. By menu you mean the music chooser right? I'll definitely put that in of course. Volume might be tricky, but I will try, might jsut need a + and - buttons rather than a slider.

yes by menu i mean music choosr accesable also with keyboard button i.


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

I'll have a new version shortly with most things in place except for the sliders...



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

Ok here's a Work In Progress again:

Bigger buttons, more space, all the play/pause/ff/rw/stop are working
Shuffle/Repeat working but the icons aren't working yet
Chooser icon working
...and some internal plumbing changes.

Also - *** touch now needs to be enabled in XSqueeze settings -> Other Settings first....so that with remote it behaves as before....

Still to do:
Fix those pesky icons
Volume control
? Slider for track position maybe




RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - ReducedToZero - 2012-10-05

Hi bossanova808,

I had to rebuild my HTPC and am now running on XBMCbuntu as my main install (With Windows and OSX as boot options).

Since I've switched, XSqueeze is being ... odd. The remote buttons all work and, according to the log, are being interpreted correctly by XSqueeze itself. I can pause, play and back out of the plugin. However, trying to navigate using the on screen display has no effect. It's stuck on Now Playing.

Checking the log, the plugin believes it's passing the navigation controls (Up, down, left, right etc.), and for play / pause to work, it must be passing transport controls so perhaps it's just having issues receiving info (what to display in the 'navigator') from squeezeslave / LMS.

The windows install works as expected and is as snappy as all hell when navigating.

I wondered if you had any insight or pointers for additional debugging I could do?






RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-10-05

No immediate ideas - I know my Openelec machine runs considerably slower with respect to the remote than my Windows machine too, but one is an Atom, the other an AMD A6...so a lot more guts.

My guess is it's either a squeezeslave thing (maybe try from the command line to see how reactive it is?) - or a remote speed thing - they are tweaking that a lot in the nighlties. But right now I dev and run mainly windows...

The commands are simple telnet (mainly sending button codes) - so I don't see much likelihood of telnet being the issue, but you never know I guess...

Might as well try my latest test version, http://dl.dropbox.com/u/108804/script.xsqueeze.zip - which has mainly touchscreen changes, but also a few tweaks to things and there's an artist.slideshow in there too that allows xsqueeze to exit instantly now.



RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - ReducedToZero - 2012-10-05

Thanks Smile

I'll have a play and let you know how it goes.


RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - RiverTrent - 2012-10-05

I'm running XSqueeze on a Raspberry Pi (OpenELEC Version: devel-20121002113513-r12031), LMS 7.7.2 on a QNAP NAS, I know I have the correct ports for CLI and HTTP and correct IP address for LMS, but I keep getting "Couldn't connect to player!, Check you player settings"

Something to do with Squeezeslave I think

Here's XBMC log, any ideasHuh?

Code:
18:36:46 T:1224086624   DEBUG: Process - Entering source directory /storage/.xbmc/addons/script.xsqueeze
18:36:47 T:1224086624  NOTICE: uname is: ('Linux', 'RASPBERRY-PI', '3.2.30', '#1 PREEMPT Tue Oct 2 12:11:36 BST 2012', 'armv6l')
18:36:47 T:1224086624  NOTICE: XSqueeze-0.7.1: ### System is arm
18:36:47 T:1224086624  NOTICE: XSqueeze-0.7.1: ### (linux/arm) chmod +x the Squeezeslave binaries - success
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: ### XSqueeze Starting ...
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: ### Author: bossanova808
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: ### Version: 0.7.1
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: Unable to suspend XBMC AE: 'module' object has no attribute 'AudioSuspend'
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: Installed custom keymap
18:36:48 T:1224086624   DEBUG: LocalizeStrings: no strings.po file exist at /storage/.xbmc/addons/script.xsqueeze/resources/language/English, fallback to strings.xml
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: XBMC Notificaton Requested: [XBMC.Notification(Starting XSqueeze and Connecting to LMS,Please wait a moment...(up to 10 seconds)...,6000,/storage/.xbmc/addons/script.xsqueeze/icon.png)]
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: Starting local Squeezeslave, system is arm
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: Attempting to start Squeezelave: ['/storage/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-367-armhf-lnx31/squeezeslave-1.2-367', '-m00:00:00:00:00:02', '192.168.0.50']
18:36:48 T:1224086624  NOTICE: XSqueeze-0.7.1: Process ID for Squeezeslave is 1482
18:36:49 T:1182557280   DEBUG: CecLogMessage - transmitting delayed activate source command
18:36:49 T:1182557280   DEBUG: CecLogMessage - << 10:04
18:36:49 T:1182557280   DEBUG: CecLogMessage - sending data: len = 1, payload = 10:04
18:36:49 T:1101107200    INFO: Loading special://xbmc/system/keymaps/mouse.xml
18:36:49 T:1101107200    INFO: Loading special://xbmc/system/keymaps/remote.xml
18:36:49 T:1156633696   DEBUG: CecLogMessage - received data: header:01020001 p0:00000410 p1:00000000 p2:00000000 p3:00000000 reason:1
18:36:49 T:1182557280   DEBUG: CecLogMessage - command 'image view on' was not acked by the controller
18:36:49 T:1182557280   DEBUG: CecLogMessage - << 10:04
18:36:49 T:1182557280   DEBUG: CecLogMessage - sending data: len = 1, payload = 10:04
18:36:49 T:1156633696   DEBUG: CecLogMessage - received data: header:01020001 p0:00000410 p1:00000000 p2:00000000 p3:00000000 reason:1
18:36:49 T:1182557280   DEBUG: CecLogMessage - command 'image view on' was not acked by the controller
18:36:49 T:1182557280   DEBUG: CecLogMessage - failed to make 'Recorder 1' the active source. will retry later
18:36:49 T:1101107200   DEBUG: CButtonTranslator::Load - no userdata Lircmap.xml found, skipping
18:36:49 T:1101107200   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
18:36:49 T:1101107200   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-arm.so)
18:36:49 T:1101107200   DEBUG: Loading: /usr/lib/xbmc/system/ImageLib-arm.so
18:36:53 T:1224086624   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x3844560
18:36:53 T:1224086624  NOTICE: XSqueeze-0.7.1: Attempting to connect to LMS named [192.168.0.50] at IP:  192.168.0.50 on CLI port: 9090
18:36:55 T:1224086624  NOTICE: XSqueeze-0.7.1: LMS Logged in: True
18:36:55 T:1224086624  NOTICE: XSqueeze-0.7.1: LMS Version: 7.7.2
18:36:55 T:1224086624  NOTICE: XSqueeze-0.7.1: Attempting to connect to player: 00:00:00:00:00:02
18:36:55 T:1224086624  NOTICE: XSqueeze-0.7.1: Player is NoneType: 00:00:00:00:00:02
18:36:55 T:1224086624  NOTICE: XSqueeze-0.7.1: Exception!
18:36:55 T:1224086624   ERROR: Traceback (most recent call last):
18:36:55 T:1224086624   ERROR:   File "/storage/.xbmc/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 227, in __init__
18:36:55 T:1224086624   ERROR:     raise Exception
18:36:55 T:1224086624   ERROR: Exception
18:36:55 T:1224086624  NOTICE: XSqueeze-0.7.1: XBMC Notificaton Requested: [XBMC.Notification(Couldn't connect to player!,Check you player settings,6000,/storage/.xbmc/addons/script.xsqueeze/icon.png)]
18:36:55 T:1224086624  NOTICE: XSqueeze-0.7.1: ### Failed to create SqueezePlayer object
18:36:55 T:1224086624   ERROR: Traceback (most recent call last):
18:36:55 T:1224086624   ERROR:   File "/storage/.xbmc/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 144, in __init__
18:36:55 T:1224086624   ERROR:     self.player = SqueezePlayer()
18:36:55 T:1224086624   ERROR:   File "/storage/.xbmc/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 231, in __init__
18:36:55 T:1224086624   ERROR:     sys.exit()
18:36:55 T:1224086624   ERROR: SystemExit
18:36:55 T:1224086624    INFO: Scriptresult: Aborted
18:36:55 T:1224086624    INFO: Python script stopped
18:36:55 T:1224086624   DEBUG: Thread XBPyThread 1224086624 terminating
18:36:55 T:1101107200   DEBUG: waiting for python thread 21 to stop
18:36:55 T:1101107200   DEBUG: python thread 21 destructed
18:36:56 T:1182557280   DEBUG: CecLogMessage - transmitting delayed activate source command
18:36:56 T:1182557280   DEBUG: CecLogMessage - << 10:04
18:36:56 T:1182557280   DEBUG: CecLogMessage - sending data: len = 1, payload = 10:04
18:36:56 T:1156633696   DEBUG: CecLogMessage - received data: header:01020001 p0:00000410 p1:00000000 p2:00000000 p3:00000000 reason:1
18:36:56 T:1182557280   DEBUG: CecLogMessage - command 'image view on' was not acked by the controller
18:36:56 T:1182557280   DEBUG: CecLogMessage - << 10:04



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

Pi support is preliminary - I have only tried with Raspbmc and Xbian.....I don't think Openelec has the right alsa or something if I recall....




RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - illiac4 - 2012-10-07

(2012-10-05, 13:13)bossanova808 Wrote: No immediate ideas - I know my Openelec machine runs considerably slower with respect to the remote than my Windows machine too, but one is an Atom, the other an AMD A6...so a lot more guts.

My guess is it's either a squeezeslave thing (maybe try from the command line to see how reactive it is?) - or a remote speed thing - they are tweaking that a lot in the nighlties. But right now I dev and run mainly windows...

The commands are simple telnet (mainly sending button codes) - so I don't see much likelihood of telnet being the issue, but you never know I guess...

Might as well try my latest test version, http://dl.dropbox.com/u/108804/script.xsqueeze.zip - which has mainly touchscreen changes, but also a few tweaks to things and there's an artist.slideshow in there too that allows xsqueeze to exit instantly now.

Hi! I have tested it on 7 inch display. On the screenshot you can see the bugs.
Image