# ~/.mythtv/lircrc # ~/.lircrc # # MythTV native LIRC config file for # the grey Hauppauge remote # # IR exec # Run MythFrontend begin prog = irexec button = POWER repeat = 0 config = /usr/bin/mythfrontend end #-------------------------------------------------------------------------- # Volume down begin prog = mythtv button = REWIND repeat = 1 config = [ end # Volume up begin prog = mythtv button = FORWARD repeat = 1 config = ] end # Channel Up begin prog = mythtv button = CH+ repeat = 1 config = Up end # Channel Down begin prog = mythtv button = CH- repeat = 1 config = Down end # OK/Select begin prog = mythtv button = OK config = Space end # Play begin prog = mythtv button = PLAY config = Return end # Stop begin prog = mythtv button = STOP config = Esc end # Escape/Exit/Back begin prog = mythtv button = BACK/EXIT config = Esc end # Power Off/Exit begin prog = mythtv button = OFF config = Esc end # Red means stop! begin prog = mythtv button = RED config = Esc end # Pause begin prog = mythtv button = PAUSE repeat = 1 config = P end # Mute begin prog = mythtv button = MUTE repeat = 1 config = F9 end # Fast forward (30 sec default) begin prog = mythtv button = REW repeat = 1 config = Left end # Rewind (10 sec default) begin prog = mythtv button = FFW repeat = 1 config = Right end # Skip forward (10 min default) begin prog = mythtv button = SKIP repeat = 1 config = PgDown end # Skip backward (10 min default) begin prog = mythtv button = REPLAY repeat = 1 config = PgUp end # Record begin prog = mythtv button = RECORD repeat = 1 config = R end # Delete begin prog = mythtv button = BLANK repeat = 1 config = D end # OSD browse begin prog = mythtv button = GREEN repeat = 1 config = O end # Display EPG while in live TV, # View selected show while in EPG begin prog = mythtv button = MENU repeat = 1 config = M end # Scroll up begin prog = mythtv button = VOL+ repeat = 1 config = Right end # Scroll down begin prog = mythtv button = VOL- repeat = 1 config = Left end # Bring up OSD info begin prog = mythtv button = GO repeat = 1 config = I end # Change display aspect ratio begin prog = mythtv button = FULL repeat = 1 config = W end # Seek to previous commercial cut point begin prog = mythtv button = YELLOW repeat = 1 config = Q end # Seek to next commercial cut point begin prog = mythtv button = BLUE repeat = 1 config = Z end # Numbers 0-9 begin prog = mythtv button = 0 repeat = 1 config = 0 end begin prog = mythtv button = 1 repeat = 1 config = 1 end begin prog = mythtv button = 2 repeat = 1 config = 2 end begin prog = mythtv button = 3 repeat = 1 config = 3 end begin prog = mythtv button = 4 repeat = 1 config = 4 end begin prog = mythtv button = 5 repeat = 1 config = 5 end begin prog = mythtv button = 6 repeat = 1 config = 6 end begin prog = mythtv button = 7 repeat = 1 config = 7 end begin prog = mythtv button = 8 repeat = 1 config = 8 end begin prog = mythtv button = 9 repeat = 1 config = 9 end ### MPlayer lirc setup # Show OSD begin prog = mplayer button = MENU repeat = 1 config = osd end # Pause playback begin prog = mplayer button = PAUSE repeat = 1 config = pause end # Skip ahead a minute if playing # If paused, resume playing begin prog = mplayer button = PLAY repeat = 1 config = seek +1 end # Stop playback and exit begin prog = mplayer button = STOP repeat = 1 config = quit end # Mute begin prog = mplayer button = MUTE repeat = 1 config = mute end # Seek back 10 seconds begin prog = mplayer button = Left repeat = 1 config = seek -10 end # Seek forward 30 seconds begin prog = mplayer button = Right repeat = 1 config = seek +30 end # Seek back 10 seconds begin prog = mplayer button = REW repeat = 1 config = seek -10 end # Seek forward 30 seconds begin prog = mplayer button = FFW repeat = 1 config = seek +30 end # Quit begin prog = mplayer button = BACK/EXIT repeat = 1 config = quit end # Seek forward 5 minutes begin prog = mplayer button = SKIP repeat = 1 config = seek +300 end # Seek backward 5 minutes begin prog = mplayer button = REPLAY repeat = 1 config = seek -300 end # Toggle full-screen begin prog = mplayer button = FULL repeat = 1 config = vo_fullscreen end