All pastes #919387 Raw Edit

Mine

public text v1 · immutable
#919387 ·published 2008-02-26 20:01 UTC
rendered paste body
# lircrc.example.HauppaugeGrey-nativelirc
# 2003-09-17, Robert Kulagowski
# mailto:rkulagow@rocketmail.com
# Save this file in ~/.mythtv/lircrc

# + to switch between audio streams
# Swap the PiP windows
begin
    prog = mythtv
    button = Go
    config = +
end

#begin
#    prog = mythtv
#    button = Power
#    config = Alt-F4
#end

# C to change inputs on TV Tuner card
begin
    prog = mythtv
    button = TV
    config = C
end

# Y Switch Capture Cards
begin
    prog = mythtv
    button = Video
    config = Y
end

# V toggle Picture-in-picture on or off
begin
    prog = mythtv
    button = Music
    config = V
end

# N swaps the two channels by changing channels on both cards.
begin
    prog = mythtv
    button = Pictures
    config = W
end

begin
    prog = mythtv
    button = Guide
    config = F
end

# X queues the current recording for transcoding.
begin
    prog = mythtv
    button = Radio
    config = X
end

begin
    prog = mythtv
    button = UP
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = DOWN
    repeat = 3
    config = Down
end

begin
    prog = mythtv
    button = LEFT
    repeat = 3
    config = Left
end

begin
    prog = mythtv
    button = RIGHT
    repeat = 3
    config = Right
end

begin
    prog = mythtv
    button = OK
    config = Return
end

begin
    prog = mythtv
    button = Back/Exit
    config = Esc
end

begin
    prog = mythtv
    button = Menu/i
    config = M  
end

begin
    prog = mythtv
    button = Vol+
    repeat = 3
    config = F10
end

begin
    prog = mythtv
    button = Vol-
    repeat = 3
    config = F11
end

# H Channel history. Each repeat steps back through the previous channels.
begin
    prog = mythtv
    button = Prev.Ch
    config = H
end

begin
    prog = mythtv
    button = Mute
    config = F9
end

# / browse program on next favorite channel.
begin
    prog = mythtv
    button = Ch+
    repeat = 3
    config = /
end

# ? to mark/unmark the current channel as a "favorite"
begin
    prog = mythtv
    button = Ch-
    repeat = 3
    config = H
end

begin
    prog = mythtv
    button = Record
    config = R
end

begin
    prog = mythtv
    button = Stop
    config = Esc
end

# Page Up to jump back the configured number of minutes.  (default is 10)
begin
    prog = mythtv
    button = Rewind
    config = PgUp
end

begin
    prog = mythtv
    button = Play
    config = P  
end


# Page Down to jump ahead the configured number of minutes.  (default is 10)
begin
    prog = mythtv
    button = Forward
    config = PgDown
end

# Use for backwards commercial skip |<
begin
    prog = mythtv
    button = Replay/SkipBackward
    config = Q  
end

begin
    prog = mythtv
    button = Pause
    config = P  
end

# Use for forward commercial skip >|
begin
   prog = mythtv
   button = SkipForward
   config = Z  
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

# mythfrontend - O to list the upcoming episodes for the currently selected show
#    on the EPG, "Program Finder", "Program Recording Priorities",
#    "Fix Scheduling Conflicts" or search results screens.

# Live TV only - O Turns on 'Browse' mode, allowing user to browse channels and program
#    info while watching current show FullScreen.

# Edit Mode - O brings up menu to allow toggling settings such as Commercial Auto-Skip,
#    Auto-Expire, etc.

begin
    prog = mythtv
    button = Asterix
    config = O
end

begin
    prog = mythtv
    button = 0
    config = 0  
end

# Use for Subtitles/CC
begin
    prog = mythtv
    button = #
    config = T
end

begin
   prog = mythtv
# Change focus for PiP (to change channel in the other window)
   button = Blank
   config = B  
end

begin
   prog = mythtv
# Toggle PiP on/off
   button = Full
   config = V  
end

# Use Red key for "Delete"
begin
   prog = mythtv
   button = red
   config = D  
end

# Use Green key for "Information"
begin
   prog = mythtv
   button = green
   config = I
end

begin
  prog = mythtv
  button = yellow
  repeat = 3
  config = E
end

# Use for adjust time strech OSD
begin
  prog = mythtv
  button = blue
  repeat = 3
  config = A
end


### MPlayer commands

begin
prog = mplayer
button = MENU
repeat = 4
config = osd
end

begin
prog = mplayer
button = PAUSE
repeat = 4
config = pause
end

begin
prog = mplayer
button = PLAY
repeat = 4
config = seek +1
end

begin
prog = mplayer
button = STOP
repeat = 4
config = quit
end

begin
prog = mplayer
button = MUTE
repeat = 4
config = mute
end

begin
prog = mplayer
button = REW
repeat = 4
config = seek -10
end

begin
prog = mplayer
button = LEFT
repeat = 4
config = seek -10
end

begin
prog = mplayer
button = FFWD
repeat = 4
config = seek +30
end

begin
prog = mplayer
button = RIGHT
repeat = 4
config = seek +30
end

begin
prog = mplayer
button = EXIT
repeat = 4
config = quit
end

begin
prog = mplayer
button = FREEZE
repeat = 4
config = seek +1200
end

begin
prog = mplayer
button = MOVE
repeat = 4
config = seek -1200
end

begin
prog = mplayer
button = +100
repeat = 4
config = vo_fullscreen
end

### Xine commands

begin
prog = xine
button = PLAY
repeat = 3
config = Play
end

begin
prog = xine
button = STOP
repeat = 3
config = Stop
end

begin
prog = xine
button = POWER
repeat = 3
config = Quit
end

begin
prog = xine
button = EXIT
repeat = 3
config = Quit
end

begin
prog = xine
button = PAUSE
repeat = 3
config = Pause
end

begin
prog = xine
button = CH+
repeat = 3
config = EventUp
end

begin
prog = xine
button = CH-
repeat = 3
config = EventDown
end

begin
prog = xine
button = VOL-
repeat = 3
config = EventLeft
end

begin
prog = xine
button = VOL+
repeat = 3
config = EventRight
end

begin
prog = xine
button = SELECT
repeat = 3
config = EventSelect
end
begin
    prog = xine
# Middle button on the diamond
    button = Ok
    repeat = 3
    config = EventSelect
end


begin
prog = xine
button = GUIDE
repeat = 3
config = Menu
end

begin
prog = xine
button = FFWD
repeat = 3
config = SpeedFaster
end

begin
prog = xine
button = REW
repeat = 3
config = SpeedSlower
end

begin
  prog = xine
# This is the Yellow key
# Use it as a volume key
  button = Yellow
  repeat = 3
  config = Volume-
end

begin
  prog = xine
# This is the Blue key
# Use it as a volume key
  button = Blue
  config = Volume+
end

#begin
#prog = xine
#button = VOL+
#repeat = 3
#config = Volume+
#end

#begin
#prog = xine
#button = VOL-
#repeat = 3
#config = Volume-
#end

begin
prog = xine
button = MUTE
repeat = 3
config = Mute
end

begin
prog = xine
button = MENU
repeat = 3
config = RootMenu
end

begin
prog = xine
button = SKIP
repeat = 3
config = EventNext
end

begin
prog = xine
button = REPLAY
repeat = 3
config = EventPrior
end

begin
prog = xine
button = INFO
repeat = 3
config = OSDStreamInfos
end

begin
    prog = xine
    button = BACK/EXIT
    repeat = 3
    config = Quit
end

# IR Exec stuff
begin
  prog = irexec
  button = Power
  repeat = 4
  config = /usr/local/bin/mythpowerbutton.sh
end