[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bossanova808 Offline
Donor
Posts: 1,530
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #41
Ok - just pushing v0.2 now - need to update the front page, but two big changes:

1. Squeezeslave is now integrated/comes with add on & starts/stops with the add on. Tested on Windows and Openelec so far - not OSX/general linux. Testers needed! - note, there are several new skin settings to look at for this. There is a crude hack for openelec - you have to toggle a skins setting 'running on openelec' to on if you are - as I haven't worked out a way to do this in code yet as openelec is quirky with python.

2. Much prettier UI - Confluence. I have not tried other skins yet....I use Confluence anyway. Feel free to let me know how bad it breaks in others....
find quote
bossanova808 Offline
Donor
Posts: 1,530
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #42
Minor openelec glitches...0.2.2 pushing out now... (need to make the binaries executable..!)
find quote
fruitloaf Offline
Junior Member
Posts: 15
Joined: Nov 2009
Reputation: 0
Post: #43
On XBMCbuntu beta 3 I get the following error if I don't use the openelec option

Code:
11:11:04 T:2887764848  NOTICE: -->Python Interpreter Initialized<--
11:11:04 T:2887764848  NOTICE: XSqueeze-0.2.2: ### XSqueeze Starting ...
11:11:04 T:2887764848  NOTICE: XSqueeze-0.2.2: ### Author: bossanova808
11:11:04 T:2887764848  NOTICE: XSqueeze-0.2.2: ### Version: 0.2.2
11:11:04 T:2887764848   ERROR: Error Type: <type 'exceptions.IOError'>
11:11:04 T:2887764848   ERROR: Error Contents: (10, 'No child processes')
11:11:04 T:2887764848   ERROR: Traceback (most recent call last):
                                              File "/home/baird/.xbmc/addons/script.xsqueeze/default.py", line 41, in <module>
                                                system = platform.system()
                                              File "/usr/lib/python2.7/platform.py", line 1306, in system
                                                return uname()[0]
                                              File "/usr/lib/python2.7/platform.py", line 1273, in uname
                                                processor = _syscmd_uname('-p','')
                                              File "/usr/lib/python2.7/platform.py", line 1030, in _syscmd_uname
                                                rc = f.close()
                                            IOError: (10, 'No child processes')

If I use the option then I get the following error

Code:
11:12:42 T:3036674928  NOTICE: -->Python Interpreter Initialized<--
11:12:43 T:3036674928  NOTICE: XSqueeze-0.2.2: ### XSqueeze Starting ...
11:12:43 T:3036674928  NOTICE: XSqueeze-0.2.2: ### Author: bossanova808
11:12:43 T:3036674928  NOTICE: XSqueeze-0.2.2: ### Version: 0.2.2
11:12:43 T:3036674928  NOTICE: XSqueeze-0.2.2: Starting local Squeezeslave, system is Linux
11:12:43 T:3036674928  NOTICE: XSqueeze-0.2.2: Attempting to start Squeezelave: ['/home/baird/.xbmc/addons/script.xsqueeze/resources/bin/squeezeslave-1.2-311-lnx26//squeezeslave', '-m00:00:00:00:00:01', '192.168.11.15']
11:12:43 T:3036674928  NOTICE: XSqueeze-0.2.2: Exception: Failed creating squeezeslave process[[Errno 13] Permission denied]

But if I make the squeezeslave binaries executable all works! It's a little slow to exit an kill the squeezeslave process so it would be good to put up a dialogue saying exiting when you get the exit request otherwise I can see the better half mashing the exit key a lot. That said I just tried it a second time and it exited virtually instantly - maybe it's just something on the first launch or a random event?

The skin is fine on confluence but is missing the background image when I use Aeon Nox - I shoud have some time this weekend and might look into the skin files but if it's easy a file choser in the configuration menu or just including a background with the addon rather than relying on the themes artwork would work better accross skins I think.
find quote
bossanova808 Offline
Donor
Posts: 1,530
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #44
hmmm ok looks like that a general python/linux thing - odd. I will change that add on setting to 'using linux' rather than just 'using openelec' for now, but I am hoping I can find a nice programmatic way soon anyway. I don't have a ubuntu setup...

Re: the binaries/executable - on openelec I have the add-on doing a chmod but clearly that fails on XBMCuntu (I was suprised it worked on OE). I don't think there is any other way than adding instructions about doing this, as it's a security issue and I suspect deliberately locked down...

Re the skin BG - yes, including with the addon makes sense indeed. Any ideas for a nice one - I like the guitar/fire one but am open to other ideas.

I have done a nicer icon, too but not pushed it, and I suspect xbmc's caching will block it from being visible if you already have the add on installed - the thumb cache is a very persistent little bugger!

Re: the stopping - it's pretty much instant on OE and Windows. I can put in a notification but it might be more confusing ... I'll try it and see.
find quote
fruitloaf Offline
Junior Member
Posts: 15
Joined: Nov 2009
Reputation: 0
Post: #45
I'll have a play around with python and see if I can't fix that detection line since XBMCbuntu will be quite a common platform.

You're probably right about having to manually set permissions - I ran the same command under the same xbmc user and it didn't work.

Any background would be fine by me as currently it falls back to black background. It would be nice to have the option to load different skins and looking at the directory structure it doesn't look too hard to implement that and then it would be pretty easy for me to add a skin that matches Aeon.
find quote
bossanova808 Offline
Donor
Posts: 1,530
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #46
Ok I've added the default bg and changed the settings to linux not just oe, and added a 'stopping squeezeslave' on exit.

0.2.3 just pushed
find quote
bossanova808 Offline
Donor
Posts: 1,530
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #47
Some help as you mention would be great!
find quote
fruitloaf Offline
Junior Member
Posts: 15
Joined: Nov 2009
Reputation: 0
Post: #48
I won't be able to have a look at it until this evening UK time (so tomorrow aussie time) but I'll see if I can make a version that looks a bit more like Aeon and check out that python.

It looks like it's not just the background art you need to include - the other pngs need to be included GlassTitleBar.png, header.png, ContentPanel.png, ContentPanelMirror.png and floor.png otherwise the backgrounds to the playlist window and other parts are missing.
find quote
bossanova808 Offline
Donor
Posts: 1,530
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #49
hmmm ok - will do!

No hurry, I'm going away for a night anyway...
find quote
bossanova808 Offline
Donor
Posts: 1,530
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #50
..and apparently my new icon looks crap on black so need to fix that...
find quote
Post Reply