New Squeezebox plugin - Request For Comments

How are you running your squeezeslave clients? I am using squeezeplug which handles the squeezeslave service.

  • Garrett

Right now I have squeezeslave running on the pogoplug and dockstar, but not on the raspberrypi. I’ve got openelec xbmc running on the Pi but haven’t used it in my setup yet.

lopaka

I’ve had good luck running squeezeplay (not squeezeslave) on a Pogoplus running ArchlinuxArm. I had to set up a fake x server but I was able to run it headless.

Squeezeslave only works at 44.1kHz and I tried for quite some time to get that to play nicely with my USB sound card to no avail - I would get lots of random pops and skips. This was on a fairly high end card too. Squeezeplay on the other hand works great.

I’ll probably be setting up another few pogoplugs in the future and I’ll make sure to document all my steps.

I know the current version of squeezeplug for the raspberry pi has support for squeezeplay. I believe this is kind of experimental, but it is there. Have not tried it yet. I just picked up a few more raspberries for future projects.

  • Garrett

There are two commands I am currently using in lua that aren’t in the plug-in.

Can you add commands for Power On and Power Off? CLI code is: client:send(mac … " power 1\n"), 1 for on, 0 for off.

Also selecting a playlist: client:send(mac … " playlist play MyPlaylistName\n")

Hi,

I would also really appreciate the power on/off commands if possible

Regards,
Mikeal

I’m guessing still no update for this plugin? I just received my veralite and was kinda disappointed this doesn’t work.

I was in the process of getting a plugin released with basic controls, however development has been put on hold due to limited time and resources.

  • Garrett

Hey Garrett,

how goes the squeezebox plugin? Any updates for us?

Chers

[quote=“Pashak, post:49, topic:170505”]Hey Garrett,

how goes the squeezebox plugin? Any updates for us?

Chers[/quote]

I’ve been MIA for a little bit on the forum due to high priority projects going on at work and things going on in my personal life. The plugin has been put on the back burner for some time. I got to the point where I have quite a bit of code for different controls and was playing with the two different api’s to interface with the squeezebox server. If radarengineer wants to continue work on the plugin, I would be more than willing to provide the files that I have been working on for continued support.

  • Garrett

Well I had some time to work on the Squeezebox Plugin. I made changes to the service types to be more in line with the Sonos Plugin and to use the standard upnp service types for the controls. I need to make a few minor changes, but I’ll try and get it posted into the app store or attach the files.

  • Garrett

Just wanted to say thanks for finding time to look at this as I’ve been trying to improve my setup, but basically got nowhere. I can’t wait to see the changes.

Here is what one of the players look like.

  • Garrett

Here is the latest squeezebox plugin. All controls have been updated to use the proper upnp services (matching sonos).

  • Garrett

Garrett - thank you!

Installation went fine - the only “glitch” being that the player devices were reset to “no room” (but kept their names - it just took me a minute to look back at the top of the page instead of down in my rooms). I ran through the controls and everything seems to be working fine. Looking forward to writing some scenes that can really exercise it.

There still is a lot to be done, but should get most people started.

  • Garrett

Thanks Garrett! Just updated and will try it out, looking good so far.

//Ola

I made additional changes which I post soon.

  • Garrett

I think I’m missing something pretty basic

So, I downloaded the files and uploaded them to Vera

I then created a device using D_SqueezeboxPlayer1.xml as the device file and I_SqueezeboxControl1.xml as the implementation file. Using this device, I plugged in the serverIP of my SqueezeCenter and its serverPort under Variables, I then put the IP of the squeezebox boom I want to connect to under ip in advanced section above Variables.

I see the player control device but none of the buttons are responsive, so I figure I’ve misconfigured pretty badly
What steps did I miss?

You need to use D_SqueezeboxControl1.xml as the device file. It will create a controller device which you enter the ip address of the logitech media server. It will than populate the squeezebox devices the server reports.

  • Garrett