Posts: 1,650
Joined: Jan 2010
Reputation:
138
malte
Skilled Python Coder
Posts: 1,650
Cool! Waiting for this for a very long time. I will surely give it a try in the next days.
Posts: 700
Joined: Aug 2009
Reputation:
8
Thanks for this. I will see if I can give this a run tonight on my XBMC (Linux Mint 12), and Openelec systems. I will post if anything interesting happens.
Posts: 3,636
Joined: Sep 2009
Reputation:
119
With OE you'll need to use the actual machine MAC not the default squeezeslave mac (in the add on settings)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 3,636
Joined: Sep 2009
Reputation:
119
2012-02-07, 17:00
(This post was last modified: 2012-02-07, 17:03 by bossanova808.)
Yep, just got OE working...using that .zip on MediaFire, install it, reboot, and check in LMS what the mac address in use is - should be the address of eth0. Put this into XSqueeze settings (and obviously also point xsqueeze at your LMS) - and it works!
Woot!
(Openelec-PVR-R9725 64 bit)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 3,636
Joined: Sep 2009
Reputation:
119
(..although it can be a bit crashy exiting XSqueeze on openelec it seems, only now and then though - I don't do much cleanup on exiting yet, might be it)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 700
Joined: Aug 2009
Reputation:
8
Have not tried the Openelec build yet, but this works fantastic on my regular PC (Linux Mint 12). The sync between my squeezebox Boom and squeezeslave is a lot better than the sync between squeezeplay and the Boom is (That's what I am running now on a netbook).
Do we really need to have squeezeslave running the whole time? You have the IP address in the XSqueeze settings, so couldn't you call squeezeslave to run upon opening XSqueeze, and close upon exit? Theoretically, this would clear the issue you have with the TrueHD->DTS Core mappings, as you may not need to alter the asound.conf since your not sharing the audio.
Posts: 3,636
Joined: Sep 2009
Reputation:
119
hmmm - I guess it depends on whether you want to be able to exit the add on and leave the audio going?
I might make it an option to run it that way at least.
I want to look at if I can tie into the xbmc now playing interface etc, so I don't have to write my own, and then the addon woudl work with all skins and integrate better. But I doubt it's really possible without getting into the C++ XBMC core which is too scary so far.
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 3,636
Joined: Sep 2009
Reputation:
119
2012-02-10, 06:57
(This post was last modified: 2012-02-10, 07:19 by bossanova808.)
OK I have just pushed a new version - v0.0.2 - which adds a Now Playing display with cover art and the next three upcoming tracks.
It looks like not much extra, but I have moved it all over to a proper object oriented structured - I've done a lot of Java but Python is noticeably different in this area (more like Smalltalk IIRC) - so it took me a bit to get my head around it. The groundwork is there to now more quickly and easily flesh things out in such a way as to write a really nice controller, and maybe eventually bolt on a SlimProto handler instead of SqueezeSlave without breaking the controller side of things. That is, the squeeze bit is all an object on it's own that could be re-implemented. (In Java terms, you'd re-implement the interface).
My plan from here is to investigate several paths:
1. See if I can integrate into XBMC's existing Now Playing/Playlist management stuff. XBMC Now Playing is pretty good and that would work nicely with other skins etc, keep the UI consistent. The XBMC playlist management is crap, though, so there'd have to be some sort of custom UI to play with the SB playlists more directly.
2. Write a custom Now Playing/controller pager, and a Playlist manager (as two windows) - and then maybe run the add on into a service that hooks into LMS so these windows can be called directly at all times like other skin pages.
3. Just leave as is, but make the Now Playing way prettier. I might start here while I investigate 1 and 2.
With options 1 and 2, I will need some advice/help from XBMC devs to see what's possible - the documentation isn't awfully great and I would like to get an idea of wat is in theory possible before I spend too much time working on something that might never work. All of this is a hack, really - kind of like using an external video player I guess.
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 3,636
Joined: Sep 2009
Reputation:
119
oops v0.0.3 just pushed, stupid windows / unix \ path issues!!
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 656
Joined: Aug 2011
Reputation:
11
Sorry!
Stuck at step 2.
Server address? Is that the LMS server address?