mattshaw wrote:
Hi guys
. I have programmed keys 1 to 9 to seek forward the required amount of minutes.
Can anyone else help ???
Paste this into your /home/mythtv/.mythtv/lircrc it should just work with nothing else to do.
Code:
######################### MPlayer Section ##############################
# "mplayer -input keylist" Prints all keys that can be bound to commands.
# "mplayer -input cmdlist" Prints all commands that can be bound to keys
# "man mplayer" Prints documentation for MPlayer
# Show OSD
begin
prog = mplayer
button = OK
config = osd
end
# Pause playback
begin
prog = mplayer
button = Pause
config = pause
end
# If paused, resume playing
begin
prog = mplayer
button = Play
config = pause
end
# Stop playback and exit
begin
prog = mplayer
button = Stop
config = quit
end
# Volume-Up
begin
prog = mplayer
button = VolumeUp
repeat = 2
config = volume +1
end
# Volume-Down
begin
prog = mplayer
button = VolumeDown
repeat = 2
config = volume -1
end
# Mute
begin
prog = mplayer
button = Mute
config = mute
end
# Seek back 60 seconds
begin
prog = mplayer
button = Left
repeat = 2
config = seek -60
end
# Seek forward 60 seconds
begin
prog = mplayer
button = Right
repeat = 2
config = seek +60
end
# Seek back 10 seconds
begin
prog = mplayer
button = Rewind
repeat = 2
config = seek -10
end
# Seek forward 30 seconds
begin
prog = mplayer
button = Forward
repeat = 2
config = seek +30
end
# Quit
begin
prog = mplayer
button = Back
config = quit
end
# Seek forward 10 minutes
begin
prog = mplayer
button = Skip
repeat = 2
config = seek +600
end
# Seek backward 10 minutes
begin
prog = mplayer
button = Replay
repeat = 2
config = seek -600
end
# increase brightness
begin
button = ChannelUp
prog = mplayer
repeat = 2
config = brightness +1
end
# decrease brightness
begin
button = ChannelDown
prog = mplayer
repeat = 2
config = brightness -1
end
# Toggle full-screen
#begin
# prog = mplayer
# button = #???????????????????????????
# repeat = 2
# config = vo_fullscreen
#end
######################### MPlayer Section End ##############################
TVBox