chill wrote: 
> I'm hoping someone can summarise how to make an infrared remote control
> perform a specified function on a Squeezebox player.
> 
> My scenario:
> I've just bought a 'oneforall' 4-in-1 remote control.  The TV and
> satellite receiver setup were easy, using the standard codes for the
> brands.  My amplifier (a home-build using a Hypex DLCP) was easily set
> up on the 'AMP' button using the remote's learning function, as was my
> RPi (running pCP and LIRC) on the 'DVD' button.  But there are some
> functions that I'd like to programme that are not present on either of
> my Squeezebox remotes, so my oneforall can't 'learn' them.
> 
> As an example, I'd like to programme the mute key to set the playback
> volume to zero.  I've done this previously using a button press on one
> of the RPi's GPIO pins, so I know that the ["mixer","volume","0"]
> command does what I need.
> 
> So I think there are two steps:
> 1) Find out what code is transmitted by the mute key when my remote is
> set to 'DVD'.  I can vary this somewhat by selecting different DVD
> brands, but I can't assign a specific code to the mute key, so I believe
> the correct approach is to first detect the code that's transmitted,
> then 
> 2) tell LMS to set ["mixer","volume","0"] in response to that code.
> 
> I'm pretty sure there's info on step 2 available in this forum, so I'll
> dig that out, but is there an easy way to get LMS to tell me what code
> it detected when I pressed the mute key?

Simply program lirc to send KEY_U while mute is pressed 

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS
------------------------------------------------------------------------
Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110318

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

Reply via email to