Any one interested please try "ir" branch on googlecode.  This will
include basic lirc support for some key commands when built with -DIR in
the OPTS variable on Linux only.

New option:
-i [<filename>]       Enable lirc remote control support (lirc config
file ~/.lircrc used if filename not specified)

LIRC .lircrc files should contain entries such as:

Code:
--------------------
    
  begin
  remote = VRC1100
  button = KEY_VOLUMEDOWN
  prog = squeezelite
  config = voldown
  repeat = 1
  end
  
--------------------


Where the prog must be "squeezelite" and the config commands allowed
are:

Code:
--------------------
    
  voldown
  volup
  rew
  fwd
  pause
  play
  power
  muting
  power_on
  power_off
  
--------------------


It will also work with the standard lirc button names in this list (so
you don't need a .lircrc file in this case):

Code:
--------------------
    
  KEY_VOLUMEDOWN
  KEY_VOLUMEUP
  KEY_PREVIOUS
  KEY_REWIND
  KEY_NEXT
  KEY_FORWARD
  KEY_PAUSE
  KEY_PLAY
  KEY_POWER
  KEY_MUTE
  
--------------------


I was originally including more ir codes from the slim remote, but the
problem is that they can cause the server to think the player has
changed display mode and hence the meaning of the IR press changes.... 
So for the moment have restricted to this.

I find it works for me with SB3 remote and lircd configuration file from
here: http://lirc.sourceforge.net/remotes/slim_devices/Squeezebox3

Further instructions on setting up lirc re beyond this post...


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to