[mythtv-users] Can't use remote in Mplayer

shacky shacky83 at gmail.com
Sat Nov 8 16:16:30 UTC 2008


2008/11/6 Brad DerManouelian <myth at dermanouelian.com>:
> You have to add commands in your lirc configuration file that
> correspond to mplayer's commands. There's more information here:
> http://www.mplayerhq.hu/DOCS/HTML/en/control.html#lirc

I did it, but it does not work.
This is the mplayer related part of my /home/mythtv/.lircrc and
/home/mythtv/.mythtv/lircrc:

### MPlayer lirc setup

# Show OSD
begin
  prog = mplayer
  remote = Hauppauge_350
  button = Red
  config = osd
end

# Pause playback
begin
  prog = mplayer
  remote = Hauppauge_350
  button = Pause
  config = pause
end

# Skip ahead a minute if playing
# If paused, resume playing
begin
  prog = mplayer
  remote = Hauppauge_350
  button = OK
  config = seek +1
end

# Stop playback and exit
begin
  prog = mplayer
  remote = Hauppauge_350
  button = Back/Exit
  config = quit
end

# Mute
begin
  prog = mplayer
  remote = Hauppauge_350
  button = Mute
  config = mute
end

# Seek back 10 seconds
begin
  prog = mplayer
  remote = Hauppauge_350
  button = Left
  repeat = 1
  config = seek -10
end

# Seek forward 30 seconds
begin
  prog = mplayer
  remote = Hauppauge_350
  button = Right
  repeat = 1
  config = seek +30
end

# Seek forward 10 minutes
begin
  prog = mplayer
  remote = Hauppauge_350
  button = Forward
  repeat = 3
  config = seek +600
end

# Seek backward 10 minutes
begin
  prog = mplayer
  remote = Hauppauge_350
  button = Rewind
  repeat = 3
  config = seek -600
end

begin
  prog = mplayer
  remote = Hauppauge_350
  button = Vol+
  repeat = 1
  config = volume +1
end

begin
  prog = mplayer
  remote = Hauppauge_350
  button = Vol-
  repeat = 1
  config = volume -1
end


More information about the mythtv-users mailing list