# Channel Up
begin
prog = mythtv
button = up
config = Up
end
 
# Channel Down
begin
prog = mythtv
button = down
config = Down
end
 
# General Left
begin
prog = mythtv
button = 
config = Left
end
 
# General Right
begin 
prog = mythtv
button = 
config = Right
end

 # LiveTV browse up channel
begin
prog = mythtv
button = up
config = Up
end
 
# LiveTV browse down channel
begin 
prog = mythtv
button = down
config = Down
end

# Volume Up
begin
prog = mythtv
button = right
config = F11
end
 
# Volume Down
begin
prog = mythtv
button = left
config = F10
end
 
 # OK/Select
begin
prog = mythtv
button = select
config = Space
end
 
# Play
begin
prog = mythtv
button = play_pause
config = Return
end
 
# Stop
begin
prog = mythtv
button = stop
config = Esc
end
 
# Escape/Exit/Back
begin
prog = mythtv
button = 
config = Esc
end
 
# Power Off/Exit
begin
prog = irexec
button = power
config = /usr/bin/mythpowerbutton.sh
end
 
# Pause
begin
prog = mythtv
button = play_pause
config = P
end
 
# Mute
begin
prog = mythtv
button = mute
config = |
end
 
# Fast forward (10 sec default)
begin
prog = mythtv
button = scan_fwd
config = Right
end
 
# Rewind (10 sec default)
begin
prog = mythtv
button = scan_rev
config = Left
end
 
# Skip forward (10 min default)
begin
prog = mythtv
button = chapter_fwd
config = PgDown
end
 
# Skip backward (10 min default)
begin
prog = mythtv
button = chapter_rev
config = PgUp
end
 
# Record
begin
prog = mythtv
button = rec
config = R
end
 
# Delete
begin
prog = mythtv
button = 
config = D
end
 
# OSD browse
begin
prog = mythtv
button = 
config = O
end
 
# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = fun1
config = M
end
 
# Bring up OSD info
begin
prog = mythtv
button = fun2
config = I
end
 
# Change display aspect ratio
begin
prog = mythtv
button = zoom
config = W
end
 
# Seek to previous commercial cut point
begin
prog = mythtv
button = 
config = Q
end
 
# Seek to next commercial cut point
begin
prog = mythtv
button = 
config = Z
end
 
# Numbers 0-9
 
begin
prog = mythtv
button =  0
config = 0
end
 
begin
prog = mythtv
button =  1
config = 1
end
 
begin
prog = mythtv
button =  2
config = 2
end
 
begin
prog = mythtv
button =  3
config = 3
end
 
begin 
prog = mythtv
button =  4
config = 4
end
 
begin
prog = mythtv
button =  5
config = 5
end
 
begin
prog = mythtv
button =  6
config = 6
end
 
begin
prog = mythtv
button =  7
config = 7
end
 
begin
prog = mythtv
button =  8
config = 8
end
 
begin
prog = mythtv
button =  9
config = 9
end 
 
# Previous channel
begin
prog = mythtv
button = fun3
config = H
end

# Closed Captioning
begin
prog = mythtv
button = 
config = T
end
 
# Picture in Picture
begin
prog = mythtv
button = 
config = V
end
 
# Change channels on both cards
begin
prog = mythtv
button = 
config = N
end
 
# Clear cutpoints in cutlist
begin
prog = mythtv
button = 
config = Q
end
 



### MPlayer lirc setup
 
# Show OSD
begin
prog = mplayer
button = source
config = osd
end
 
# Pause playback
begin
prog = mplayer
button = play_pause
config = pause
end
 
# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = 
config = seek +1
end
 
# Mute
begin
prog = mplayer
button = mute
config = mute
end
 
# Seek back 10 seconds
begin
prog = mplayer
button = scan_rev
config = seek -10
end
 
# Seek forward 30 seconds
begin
prog = mplayer
button = seek_fwd
config = seek +30
end
 
# Quit
begin
prog = mplayer
button = stop
config = quit
end
 
# Seek forward 10 minutes
begin
prog = mplayer
button = chapter_fwd
config = seek +600
end
 
# Seek backward 10 minutes
begin
prog = mplayer
button = chapter_rev
config = seek -600
end
 
# Toggle full-screen
begin
prog = mplayer
button = zoom
config = vo_fullscreen
end
 


### Xine lirc setup
 
begin
prog = xine
button = play_pause
config = Play
end
 
begin
prog = xine
button = stop
config = Stop
end
 
begin
prog = xine
button = stop
config = Quit
end
 
begin
prog = xine
button = play_pause
config = Pause
end
 
begin
prog = xine
button = up
config = EventUp
end 
 
begin
prog = xine
button = down
config = EventDown
end
 
begin
prog = xine
button = 
config = EventLeft
end
 
begin
prog = xine
button = 
config = EventRight
end
 
begin
prog = xine
button = select
config = EventSelect
end
 
begin
prog = xine
button = preview
config = Menu
end
 
begin
prog = xine
button = seek_fwd
#config = SpeedFaster
config = SeekRelative+60
end
 
begin
prog = xine
button = seek_rev
#config = SpeedSlower
config = SeekRelative-60
end
 
begin
prog = xine
button = right
config = Volume+
end
 
begin
prog = xine
button = left
config = Volume-
end
 
begin
prog = xine
button = mute
config = Mute
end
 
begin
prog = xine
button = stop
config = RootMenu
end 
 
begin
prog = xine
button = chapter_fwd
config = EventNext
end
 
begin
prog = xine
button = chapter_rev
config = EventPrior
end
 
begin
prog = xine
button = source
config = OSDStreamInfos
end