Got tired of the standard mplayer support in my /home/mythtv/lircrc with R4V2 so I wrote this one. Just edit your /home/mythtv/lircrc and remove the mplayer parts, then paste the following into it and you're finished.
Quote:
#MPlayer
begin
prog = mplayer
button = Off
config = quit
end
begin
prog = mplayer
button = MENU
config = osd
end
begin
prog = mplayer
button = 1
config = contrast -1
repeat = 3
end
begin
prog = mplayer
button = 2
config = contrast +1
repeat = 3
end
begin
prog = mplayer
button = 3
config = brightness -1
repeat = 3
end
begin
prog = mplayer
button = 4
config = brightness +1
repeat = 3
end
begin
prog = mplayer
button = 5
config = hue -1
repeat = 3
end
begin
prog = mplayer
button = 6
config = hue +1
repeat = 3
end
begin
prog = mplayer
button = 7
config = saturation -1
repeat = 3
end
begin
prog = mplayer
button = 8
config = saturation +1
repeat = 3
end
begin
prog = mplayer
button = Rew
config = seek -10
repeat = 1
end
begin
prog = mplayer
button = FFW
config = seek +10
repeat = 1
end
begin
prog = mplayer
button = Replay
config = seek -60
repeat = 1
end
begin
prog = mplayer
button = Skip
config = seek +60
repeat = 1
end
begin
prog = mplayer
button = Pause
config = pause
end
begin
prog = mplayer
button = Play
config = pause
end
begin
prog = mplayer
button = BACK
config = quit
end
begin
prog = mplayer
button = CH+
config = volume +1
repeat = 1
end
begin
prog = mplayer
button = CH-
config = volume -1
repeat = 1
end
begin
prog = mplayer
button = VOL+
config = seek +10
repeat = 1
end
begin
prog = mplayer
button = VOL-
config = seek -10
repeat = 1
end
begin
prog=mplayer
button=Mute
config=mute
end
begin
prog = mplayer
button = Ok
config = pause
end