[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)
[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - donabi - 2012-06-01 22:48
You could add it to autoexec.py
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-06-02 08:26
(2012-06-01 20:50)Lakritzator Wrote: I just wanted to thank you for the superb work!!
On 1 - If you can work out the squeezebox CLI command required to get the track info back for now playing I can add it. I know this is a week area but I don't use radio much really
On 2 - I think autoexec.py is the go if you need to run XSqueeze as such. But if you're just starting your box up and want to sync to existing players/XSqueeze elsewhere, you could basically install squeezeslave manually as a service and just have it connect to the network of players, without XSqueeze at all really...otherwise, yes, I think autoexec.py (RunScript(script.xsqueeze)) would do it - and set the add on setting to send a play signal at start (does this by default). Maybe if you tell me more precisely what you want to do?
(2012-06-01 17:55)sdsnyr94 Wrote: It's not the XSqueeze you need compiled for ARM, but the squeezeslave binary.... XSqueeze should still work as a controller. And it is not going to be listed in the default XBMC add-ons... you need to add Bossonova808's repo.
Well, pretty much - I will need to add platform detection support in XSqueeze perhaps, although it may just work as the default is linux 2.6+ and I presume that is what will be running on the Pi.
I will look at this once I get my Pi (late this month I think), so it will definitely happen if possible.
Should be able to grab the binary from here:
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-06-02 08:37
(2012-05-26 13:31)donabi Wrote: Yesterday i've used it the whole day. Perfectly(!) synced with my Squeezebox-Radio in the kitchen.
I've just re-read this - are you still having artwork issues with XSqueeze? If so, to help, can you answer post 302 - http://forum.xbmc.org/showthread.php?tid=122199&pid=1108830#pid1108830 - I am sure we can solve it...
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - donabi - 2012-06-02 17:15
Well... sometimes it works, sometimes not.
Today i've re-installed my whole system (complete new), so i'm testing.
But, as far as i've seen, at least a lot of text-info shows up and the fanart.addon works in background.
On the other hand, the fanart.addon blocked the xsqueeze when trying to stop the addon.
I have to test and read some more logs.
Does the addon have an own log?
[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-06-03 00:02
No, addons don't get their own log although it would be easy to implement such, might do that.
Honestly, try those URLs direct first, as the artwork retrieval for albums etc should work 100%.
Under Eden, anyway. Nighties to April are ok but the AE merge is a bit of a roadblock for XSqueeze on Windows due to needing wasapi exclusive mode.... Blocks anything else using the sound path. Don't think it's an issue in Linux but for solving this issue test with Eden.
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Lakritzator - 2012-06-03 16:41
Thanks for the reply, I'll have a look at the python scripts...
What I want to do? I want a simple way of having multiroom audio, having the same music in all rooms! Squeezeslave is very good for this, but explaining my wife to start the PC and select xsqueeze in every room is a bit complex. As all my openelec instances wake on lan, I have one problem solved. Now I would like to have a simple way to make all openelec instances start XSqueeze, preferably without having to turn on the screen. If possible using an IOS remote app. It would probably be the best if the Squeezeslave is automatically running in the background as start, but this prevents XBMC from opening the audio hardware.
Any tips or ideas?
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-06-04 07:15
Actually, I need the LMS CLI code, not so much the Python...once I have the right CLI code to retrieve the artist, the Python bit is usually eazy. In your LMS -> help -> technical information -> CLI you can find the docs for this. It's a fiddly telent type thing but you can test commands fairly easily (if you know basic pythong you can use the included tester.py in your XSqueeze folder to make this a bit easier...)
For the general issue - I guess I kinda repeat - sounds like you basically want to run these headless and synced to other players, so squeezeslave manually installed on the machine seems like a sensible option for you. So for now you just need a manual squeezslave auto-starting on your machine and make sure those playes are configured to auto-connect and sync to your playing group. Should be easy enough.
That said, I am thinking of moving the squeezeslave stuff into a separate service add on so that is easier to achieve - then you'll be able to explicitly choose if it jsut runs all the time, or start/stops with XSqueeze....and get some direct manual controls to restart the service etc. if required. That would also later facilitate using other players more easily I would guess ... (e.g. headless squeezeplay if such a thing ever comes about) ....
But I haven't done any service addons yet, need to look at this. Don't think it will be too crazy though.
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - Lakritzator - 2012-06-04 08:15
Thank you for your answer! Add-ons might be a solution, can an add-on add a function to the remote API?
I know how to use squeezeslave standalone, the problem is that 90% of the time we use our openelec XBMC for video. Starting squeezeslave in the background will block the audio device.
I guess I just need a solution to start XSqueeze (or squeezeslave) on all systems at the same time, and have the possibility to stop it, by using a remote command. I'll have a look at the API/Addon possibilities.
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-06-04 08:48
You probably just need an asound.conf that allows shared access to the audio device...if you google around there are examples, e.g.
RE: [RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC - bossanova808 - 2012-06-05 07:07
Pretty good demo of Squeezeslave on raspberry pi here:
...hopefully we can get someone to integrate squeezeslave into of the pi distros with xbmc - would make a very cheap XBMC/squeezebox station for music at least...