All pastes #386153 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-08 12:55 UTC
rendered paste body
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file
#
# Modified from Jarod Wilson's which came from Jeff Campbell's
# By Brad Templeton

begin
prog = mythtv
button = TV
config = Alt+T
end

begin
prog = mythtv
button = Videos
config = Alt+V
end

begin
prog = mythtv
button = Music
config = Alt+M
end

begin
prog = mythtv
button = Pictures
config = Alt+P
end

#begin
#prog = mythtv
#button = Home
#config = Alt+H
#end

begin
prog = mythtv
button = Guide
config = S
end

begin
prog = mythtv
button = Radio
config = Alt+W
end

# Previous channel
begin
prog = mythtv
button = LiveTV
config = H
end

# Favorite channel jump
begin
prog = mythtv
button = DVD
config = /
end

# I stuck the "todo" list on here as Myth has no radio function
begin
prog = mythtv
button = RADIO
repeat = 3
config = F4
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

# Channel Up
begin
prog = mythtv
button = CH+
repeat = 3
config = Up
end

# Channel Down
begin
prog = mythtv
button = CH-
repeat = 3
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 = I
end

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

# Power Off/Exit
begin
prog = irexec
button = Power
config = ~/startx &
end


# Pause
begin
prog = mythtv
button = Pause
repeat = 3
config = P
end

# Rewind (30 sec default)
begin
prog = mythtv
button = REW
repeat = 3
config = <
end

# Fast forward
begin
prog = mythtv
button = FFW
repeat = 3
config = >
end

# Skip forward (10 min default)
begin
prog = mythtv
button = SKIP
repeat = 3
config = End
end

# Skip backward (10 min default)
begin
prog = mythtv
button = REPLAY
repeat = 3
config = Home
end

# Record
begin
prog = mythtv
button = Record
repeat = 3
config = R
end

# Delete
begin
prog = mythtv
button = Red
repeat = 3
config = D
end

# Decrease play speed
begin
prog = mythtv
button = Green
repeat = 3
config = J
end

# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = MENU
repeat = 3
config = M
#config = o
end

# Volume up
begin
prog = mythtv
button = VOL+
repeat = 4
config = F11
end

# Volume down
begin
prog = mythtv
button = VOL-
repeat = 4
config = F10
end

# Mute
begin
prog = mythtv
button = Mute
repeat = 2
config = |
end

# ESC key
#begin
#prog = mythtv
#button = BACK/EXIT
#config = quit
#end

# Bring up OSD info
begin
prog = mythtv
button = Home
repeat = 3
config = I
end

# Previous channel
begin
prog = mythtv
button = Prev-Channel
repeat = 3
config = h
end

# double speed watch
begin
prog = mythtv
button = Yellow
repeat = 3
config = J
end

# change tuners
begin
prog = mythtv
button = #
repeat = 3
config = Y
end

# change inputs
begin
prog = mythtv
button = STAR
repeat = 3
config = C
end

# Bring up Time stretch
begin
prog = mythtv
button = Blue
repeat = 3
config = A
end

# Numbers 0-9

begin
prog = mythtv
button = 0
repeat = 3
config = 0
end

begin
prog = mythtv
button = 1
repeat = 3
config = 1
end

begin
prog = mythtv
button = 2
repeat = 3
config = 2
end

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

begin
prog = mythtv
button = 4
repeat = 3
config = 4
end

begin
prog = mythtv
button = 5
repeat = 3
config = 5
end

begin
prog = mythtv
button = 6
repeat = 3
config = 6
end

begin
prog = mythtv
button = 7
repeat = 3
config = 7
end

begin
prog = mythtv
button = 8
repeat = 3
config = 8
end

begin
prog = mythtv
button = 9
repeat = 3
config = 9
end

### IREXEC
begin
prog = irexec
button = Home
config = ~/runmyth &
end

#begin
#prog = irexec
#button = BLUE
#config = /usr/bin/aumix &
#end

### AUMIX
#begin
#prog = aumix
#button = LEFT
#config = Left
#end

#begin
#prog = aumix
#button = RIGHT
#config = Right
#end

#begin
#prog = aumix
#button = UP
#config = Up
#end

#begin
#prog = aumix
#button = DOWN
#config = Down
#end

#begin
#prog = aumix
#button = OK
#config = Alt+F4
#end

# Front panel volume
begin
prog = irexec
button = PanelKnobRight
config = /usr/bin/volume.sh up &
repeat = 3
end

begin
prog = irexec
button = PanelKnobLeft
config = /usr/bin/volume.sh down &
repeat = 3
end

begin
prog = irexec
button = PanelKnobPress
config = /usr/bin/volume.sh mute &
config = /usr/bin/volume.sh unmute &
repeat = 0
end


# Use these instead of internal mythtv controls
#begin
#prog = irexec
#button = VOL+
#config = /usr/bin/volume.sh up &
#repeat = 3
#end

#begin
#prog = irexec
#button = VOL-
#config = /usr/bin/volume.sh down &
#repeat = 3
#end

#begin
#prog = irexec
#button = MUTE
#config = /usr/bin/volume.sh mute &
#config = /usr/bin/volume.sh unmute &
#repeat = 0
#end


### MPlayer lirc setup

# Show OSD
begin
prog = mplayer
button = MENU
repeat = 3
config = osd
end

# Pause playback
begin
prog = mplayer
button = PAUSE
repeat = 3
config = pause
end

# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = PLAY
repeat = 3
config = seek +1
end

# Stop playback and exit
begin
prog = mplayer
button = STOP
repeat = 3
config = quit
end

# Mute
begin
prog = mplayer
button = MUTE
repeat = 3
config = mute
end

# Seek back 10 seconds
begin
prog = mplayer
button = REW
repeat = 3
config = seek -10
end

# Seek forward 30 seconds
begin
prog = mplayer
button = FFW
repeat = 3
config = seek +30
end

# Quit
begin
prog = mplayer
button = BACK/EXIT
#button = Power
repeat = 3
config = Esc
end

# Seek forward 10 minutes
begin
prog = mplayer
button = SKIP
repeat = 3
config = seek +600
end

# Seek backward 10 minutes
begin
prog = mplayer
button = REPLAY
repeat = 3
config = seek -600
end

# Toggle full-screen
begin
prog = mplayer
button = FULL
repeat = 3
config = vo_fullscreen
end

begin
prog = mplayer
button = Vol+
repeat = 3
config = volume +1
end

begin
prog = mplayer
button = Vol-
repeat = 3
config = volume -1
end


### Xine lirc setup

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

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

begin
prog = xine
button = OFF
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 = OK
repeat = 3
config = EventSelect
end

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

begin
prog = xine
button = FFW
repeat = 3
#config = SpeedFaster
config = SeekRelative+60
end

begin
prog = xine
button = REW
repeat = 3
#config = SpeedSlower
config = SeekRelative-60
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 = HOME
repeat = 3
config = OSDStreamInfos
end

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

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

# xmame
begin
prog = xmame
button = BACK/EXIT
config = quit
end

# STELLA!!!!!!!!!!
begin
prog = stella
button = BACK/EXIT
config = Ctrl+Q
end

begin
prog = stella
button = UP
config = UP
end

begin
prog = stella
button = DOWN
config = DOWN
end

begin
prog = stella
button = LEFT
config = LEFT
end

begin
prog = stella
button = RIGHT
config = RIGHT
end

begin
prog = stella
button = OK
config = SPACE
end