Hi, Christian.

Monitoring for volume changes is easy in SlimServer 6.5; see
http://www.tux.org/~peterw/slim/VolumeLock.html for some working code.
If you want the volume changes to affect the Nuvo volume instead of the
Squeezebox output, you might want to start with
VolumeLock_mixerVolumeCommand and VolumeLock_mixerMutingCommand, adding
code to see whether the attempt is to go up or down and to call the Nuvo
API. I have not looked into the mixerDisplay() source code, but it sure
seems like it would be nice for your application to have the SB display
the Nuvo volume level instead of the (presumably fixed) SB output
level.

If you really want to monitor only the remote control's buttons (and
not things like using the web UI to change the volume), take a look at
http://www.tux.org/~peterw/slim/StatusFirst.html

I don't recall the specifics, but running slimserver.pl with arguments
--d_command and --d_ir was helpful in finding command and button names.


-Peter


-- 
peterw
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=30731

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to