ScottAM wrote: 
> The first obstacle is that squeezelite expects to see a command sent to
> it from the server every ~30 seconds, or it disconnects. My server
> doesn't send anything periodically (and the original Classic was fine
> with that); and it's not obvious what I should send - I could do a hack
> like sending the volume over and over, but that can't be what's
> intended. The squeezelite code isn't heavily commented. I can slowly
> slog through the trial and error of "just keep trying stuff" but I'm
> hoping I can approach this more cleverly. What I probably need is the
> ability to contact the author and pester him with questions, but I don't
> know how. (Edit: or, I could hope that the Ralph I----- of Githib is
> "ralphy" here. Hi?)

Yes that's me.

There was a period in lms evolution where client keep alive behaviour
changed between v6.5 and v7.2. 'This is a comment I made'
(https://github.com/ralph-irving/squeezeslave/blob/master/src/slimaudio/slimaudio.c#L264)
in the old squeezeslave code regarding it.  As sending the volume
command is keeping squeezelite active, this is purely out of interest.

ScottAM wrote: 
> Would it be difficult to add in all the buttons on the squeeze classic
> remote?

It should be straight forward to add most of them.  The complete list is
in 'Slim_Devices_Remote.ir'
(https://github.com/Logitech/slimserver/blob/public/7.9/IR/Slim_Devices_Remote.ir)
from lms.

ScottAM wrote: 
> Also, what's the simplest way to hook up an IR receiver? I'm not seeing
> anything cheaper than USB Infrared Toy v2 (~20$). Are there better
> options?

There's a short video describing how to connect an IR receiver to the
rpi and a link to the ones I use in the 'first post'
(https://forums.slimdevices.com/showthread.php?105117-lirc-rpi-gpio-IR-support-for-picoreplayer&p=844472&viewfull=1#post844472)
of an old thread.  Note that IR support has been integrated into
picoreplayer since this thread was created.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110960

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to