Aesculus wrote: 
> Thank you for doing this. Let me try the changes over the next few days.
> If it all makes sense I can put them into a 2.1 version.
> 
> 
> 
> Do you have any specific thoughts on how you would like to see this
> implemented?

Thanks, Chris. In terms of the volume synchronization, I'd like to more
fully support the client volume up/down protocol, which comes in as a
'+n' or '-n' volume change request, where n essentially represents a
percentage that the volume should be adjusted. For example, the LMS web
client sends a +2 or -2 when the speaker icons are clicked, whereas the
Squeezer Android app sends a +/-5. I'm not sure about other apps but I
suspect they act similarly. Running with debug on could verify that.
Ideally, I could simply calculate the new absolute volume to send the
AVR by using a simple formula but, in order to do it, I would need to
know the current client volume setting (0-100), which I don't think is
available to the plugin. I planned on looking into that further. It
seems to me that it could be maintained in the plugin as some sort of
persistent global variable, which would be ideal. Beyond that, there's
always the issue of how to handle volume changes made directly to the
AVR via the volume control or remote, which I often do when listening in
my living room, but the client sync option helps minimize that problem.
The only alternative I can think of would be to set a timer to query the
AVR volume every so often but I don't like the idea of the additional
network traffic. 

Sorry for rambling on, Chris. Let me know how your testing goes, and
have a great weekend.



Sam
------------------------------------------------------------------------
SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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

Reply via email to