MCE Remote LIRC Config

From MythTV Official Wiki
Jump to: navigation, search

Script.png ~/.mythtv/lircrc

# Power button = Start/Stop MythTV program.
# Calls mythpowerbutton.sh script in ~/.mythtv to start a single instance
# of mythfrontend, or kill it if it's already running.
begin
     button = Power
     prog = irexec
     repeat = 0
     config = /home/christopher/.mythtv/mythpowerbutton.sh
end

# MyTV = Jump to live TV section.
# Config button defined via MythWeb's KeyBindings JumpPoints editor.
begin
    prog = mythtv
    button = MyTV
    config = Ctrl+2
end
# MyMusic = Jump to MythMusic section.
# Config button defined via MythWeb's KeyBindings JumpPoints editor.
begin
    prog = mythtv
    button = MyMusic
    config = Ctrl+3
end


# MyPictures = Jump to MythGallery section.
# Config button defined via MythWeb's KeyBindings JumpPoints editor.
begin
    prog = mythtv
    button = MyPictures
    config = Ctrl+4
end


# MyVideos = Jump to MythVideo section.
# Config button defined via MythWeb's KeyBindings JumpPoints editor.
begin
    prog = mythtv
    button = MyVideos
    config = Ctrl+5
end


#
# Recording controls.
#

# Record = Start recording.
begin
    prog = mythtv
    button = Record
    config = r
end


# Stop = Back/Cancel.
begin
    prog = mythtv
    button = Stop
    config = Esc
end


# Pause = Pause/Resume playback.
begin
    prog = mythtv
    button = Pause
    config = p
end


# Play = Play recording/set bookmark.
begin
    prog = mythtv
    button = Play
    config = Space
end


# Rewind = Slowly skip backwards in recording.
begin
    prog = mythtv
    button = Rewind
    config = PgDown
end


# Forward = Slowly skip forwards in recording.
begin
    prog = mythtv
    button = Forward
    config = PgUp
end


# Replay = Skip to previous commercial marker.
begin
    prog = mythtv
    button = Replay
    config = q
end


# Skip = Skip to next commercial marker.
begin
    prog = mythtv
    button = Skip
    config = z
end


#
# Directional controls.
#

# Back button = Back/Cancel.
begin
    prog = mythtv
    button = Back
    config = Esc
end


# More = Bring up OSD & playlist menus.
begin
    prog = mythtv
    button = More
    config = m
end


# Up = Scroll/Channel Up.
begin
    prog = mythtv
    button = Up
    config = Up
    repeat = 2
end


# Down = Scroll/Channel Down.
begin
    prog = mythtv
    button = Down
    config = Down
    repeat = 2
end


# Left = Scroll/Rewind left.
begin
    prog = mythtv
    button = Left
    config = Left
    repeat = 2
end


# Right = Scroll/Rewind right.
begin
    prog = mythtv
    button = Right
    config = Right
    repeat = 2
end


# OK = Select.
begin
    prog = mythtv
    button = OK
    config = Return
end


#
# Quick controls.
#

# VolUp = Increase Volume.
begin
    prog = mythtv
    button = VolUp
    config = F11
end
# VolDown = Decrease Volume.
begin
    prog = mythtv
    button = VolDown
    config = F10
end


# Home = Jump to Main Menu section.
# Config button defined via MythWeb's KeyBindings JumpPoints editor.
begin
    prog = mythtv
    button = Home
    config = Ctrl+1
end


# Mute = Turn sound off/on.
begin
    prog = mythtv
    button = Mute
    config = |

end


# ChanUp = Scroll/Channel Up.
begin
    prog = mythtv
    button = ChanUp
    config = Up
end


# ChanDown = Scroll/Channel Down.
begin
    prog = mythtv
    button = ChanDown
    config = Down
end


# RecordedTV button = Jump to TV Recording Playback section.
# Config button defined via MythWeb's KeyBindings JumpPoints editor.
begin
    prog = mythtv
    button = RecordedTV
    config = Ctrl+6
end


# Guide = Show EPG while in TV mode.
#begin
#    prog = mythtv
#    button = Guide
#    config = s
#end
# Guide = Jump to Live TV In Guide section.
# Config button defined via MythWeb's KeyBindings JumpPoints editor.
begin
    prog = mythtv
    button = Guide
    config = Ctrl+7
end


# LiveTV = Switch to previous channel.
begin
    prog = mythtv
    button = LiveTV
    config = h
end


# DVDMenu = Show more information on selected items.
begin
    prog = mythtv
    button = DVDMenu
    config = i
end


#
# Zero - Nine = Numbers 0 - 9.
#

begin
    prog = mythtv
    button = One
    config = 1
end

begin
    prog = mythtv
    button = Two
    config = 2
end

begin
    prog = mythtv
    button = Three
    config = 3
end

begin
    prog = mythtv
    button = Four
    config = 4
end

begin
    prog = mythtv
    button = Five
    config = 5
end

begin
    prog = mythtv
    button = Six
    config = 6
end

begin
    prog = mythtv
    button = Seven
    config = 7
end

begin
    prog = mythtv
    button = Eight
    config = 8
end

begin
    prog = mythtv
    button = Nine
    config = 9
end


begin
    prog = mythtv
    button = Zero
    config = 0
end


#
# Text controls.
#

# Star button = toggle Picture In Picture on/off.
begin
    prog = mythtv
    button = Full
    config = V
end

# Hash (+ Number) = Show teletext, else show subtitles.
begin
    prog = mythtv
    button = Hash
    config = t
 end

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

# Enter button = swap channels in PiP window.
begin
    prog = mythtv
    button = Enter
    config = N
end

# Red = Red button for interactive screens.
begin
   prog = mythtv
   button = Red
   config = F2
end

# Green = Green button for interactive screens.
begin
   prog = mythtv
   button = Green
   config = F3
end

# Yellow = Yellow button for interactive screens.
begin
   prog = mythtv
   button = Yellow
   config = F4
end

# Blue = Blue button for interactive screens.
begin
   prog = mythtv
   button = Blue
   config = F5
end

# Teletext = Show interactive MHEG screens (Freeview's "Red Button")
begin
    prog = mythtv
    button = Teletext
    config = F7
 end