SamY wrote: > 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.
I'll turn on debug too and try out the various devices to see if I can see a pattern. Hopefully it will be obvious and then I can put in some simple logic to figure out what the intent is. The problem with a setting is that I think its client dependent. My Denon is many years old and yours is probably much newer and it's also possible that some of the functions are supported differently between the systems. So a bit of logic may be required to see what might be supported or not. Chris ------------------------------------------------------------------------ Aesculus's Profile: http://forums.slimdevices.com/member.php?userid=14876 View this thread: http://forums.slimdevices.com/showthread.php?t=60114 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
