[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC (/showthread.php?tid=122199)
- bossanova808 - 2012-02-15 13:15
still says 2.4 in the log right above the error:
10:51:56 T:2817760112 M:1386307584 DEBUG: Process - Setting the Python path to /home/baird/.xbmc/addons/script.xsqueeze:/home/baird/.xbmc/addons/script.module.simplejson/lib:/home/baird/.xbmc/addons/script.module.beautifulsoup/lib:/usr/lib/xbmc/addons/script.module.pil/lib:/usr/lib/xbmc/addons/script.module.pysqlite/lib:/usr/lib/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
10:51:56 T:2817760112 M:1386307584 DEBUG: Process - Entering source directory /home/baird/.xbmc/addons/script.xsqueeze
10:51:56 T:2817760112 M:1386307584 INFO: -->Python script returned the following error<--
10:51:56 T:2817760112 M:1386307584 ERROR: Error Type: exceptions.SyntaxError
10:51:56 T:2817760112 M:1386307584 ERROR: Error Contents: ('invalid syntax', ('/home/baird/.xbmc/addons/script.xsqueeze/default.py', 46, 23, ' except Exception as inst:\n'))
Yep try Eden - can't be bothered supporting dharma and/or 2.4 as I've kinda left that long behind now, sorry!
- fruitloaf - 2012-02-15 13:17
How odd - python -V gives Python 2.6.5
Fair enough with not supporting dharma though - I'll try Eden out in the next couple of days.
- fruitloaf - 2012-02-15 13:18
I've just looked at the log and seen that XBMC uses its own python not the system version which explains it.
- bossanova808 - 2012-02-15 13:19
yeah although I think that has changed with Eden actually...
- bossanova808 - 2012-02-15 14:37
Ok just pushed 0.0.9 - this is the first version that I am a bit happy with.
Internally I now think it is doing things correctly (using a doModal window, a thread/locking for updating the screen, all the data going into $INFO etc). It looks much the same but is actually much simpler and neater on the inside, so more reliable. Works nicely with radio etc. too now.
It's also now fully and easily skinnable, and I will add more data to the $INFO so that you can put more on screen soon. See sample file in the addon/resources/skins folder...
SO - I am looking for some help if anyone fancies it - care to make a nice, Confluency 'Now Playing' screen so that it looks a bit better in terms of visually matching XBMC, at least the default skin (of course other skin versions appreciated too!).
Also - I'd like a nice icon as the current one is crap. I don't really know what...there's a PSD in the add on dir you can use as your starting point....ideally it would sit on a nice background or a transparent one...
If anyone fancies helping, just get to it and let me know!
Next step is to deal with starting/stopping SqueezeSlave with the addon Maybe let me know what platforms you are using so I can work on them first - I have windows, OSX and OpenElec lying around so will test on those, but I don't know about Live/XBMCUbuntu or Mint etc....
- fruitloaf - 2012-02-15 16:51
Just to say that I've stuck the live version on a USB stick and it works fine. I just need to get squeezeslave to recognise the HDMI audio output on my ION 330 so I can hear the output.
If I get a chance I'll have a look at the layout and see if I can do anything. I've not done any XBMC scripting before but am I right in saying the layouts are all XML?
- bossanova808 - 2012-02-16 01:01
Yep it's all XML and pretty easy stuff for the most part if you're just laying out controls and pulling data from the $INFO section.
...but basically whoever does it would want to take an existing Confluence page (e.g. with the clock/weather etc) and make a nice screen with a dark shaded floor and reflections etc. a la Confluence pages (e.g. look at the weather page MyWeather.xml for a basic example)....it's really just to make it integrate better with XBMC's default skin.
The background should be nice and simple so later we can backdrop artist images into it....and there should be space for bio/album info etc. as well!
- bossanova808 - 2012-02-16 05:16
grr missed a small bug - if the playlist is completely empty it gets grump at start up. I have fixed it, but also started mucking about with start/stop of squeezeslave, to I can't be bothered bumping a version. Just use the Web UI to add some stuff to your playlist first and then it should start fine.
- bossanova808 - 2012-02-16 14:32
Just an update - I have made much better progress than I have expected...
I have start/stop squeezeslave working on Windows and 99% on Openelec (minor python system ID issue there I have a crude hack working though). It works as expected - you can use your normal asound.conf, get rid of the squeezeslave service, and truehd etc. works again of course.
Working really well.
Also, I have knocked up a reasonable Confluence skin file and it's looking quite a lot prettier.
I will tidy it up a bit tomorrow and push out 0.1 soon
- bossanova808 - 2012-02-16 14:51
<caveat> - on Openelec one does still get the periodic audio dropouts mentioned in that squeezeslave thread...no idea what that is...