# Shell commands
### Mplayer DVD player
begin
remote = MX500-DVD
prog = irexec
button = MPLYR
flags = once
# Normal stereo sound
# config = /usr/local/bin/mplayer -dvd 1 -vo xv -ao oss -fs -vop scale -zoom -aspect 4:3 -alang en -slang en -framedrop -lircconf /home/bruns/.lircrc
# Digital 5.1 sound
config = /usr/local/bin/mplayer -dvd 1 -vo xv -ao alsa9 -ac hwac3 -fs -vop scale -zoom -aspect 4:3 -alang en -slang en -framedrop -lircconf /home/bruns/.lircrc
end
### Ogle DVD player
begin
remote = MX500-DVD
prog = irexec
button = OGLE
flags = once
config = /usr/local/bin/ogle -u cli /dev/dvd
end
### Xine DVD player
begin
remote = MX500-DVD
prog = irexec
button = XINE
flags = once
config = /usr/local/bin/xine -pfh dvd:/
end
### VLC DVD player
begin
remote = MX500-DVD
prog = irexec
button = VLC
flags = once
config = /usr/local/bin/vlc --fullscreen --extraintf lirc --spdif -A alsa dvd:/dev/dvd
end
### Eject
begin
remote = MX500-DVD
prog = irexec
button = EJECT
config = /usr/local/bin/eject_toggle.pl
end
############################################################
### buttons for mplayer dvd player using MX-500 DVD menu ###
############################################################
# begin mplayer
begin
remote = MX500-DVD
prog = mplayer
button = PAUSE_INFO
config = pause
end
begin
remote = MX500-DVD
prog = mplayer
button = STOP
config = pause
end
begin
remote = MX500-DVD
prog = mplayer
button = SKIP_MENU
config = seek +15
end
begin
remote = MX500-DVD
prog = mplayer
button = SKIP_BACK_GUIDE
config = seek -5
end
begin
remote = MX500-DVD
prog = mplayer
button = FFORWARD
config = seek +150
end
begin
remote = MX500-DVD
prog = mplayer
button = REVERSE
config = seek -150
end
begin
remote = MX500-DVD
prog = mplayer
button = UP
config = dvdnav 1
end
begin
remote = MX500-DVD
prog = mplayer
button = DOWN
config = dvdnav 2
end
begin
remote = MX500-DVD
prog = mplayer
button = LEFT
config = dvdnav 3
end
begin
remote = MX500-DVD
prog = mplayer
button = RIGHT
config = dvdnav 6
end
begin
remote = MX500-DVD
prog = mplayer
button = MENU
config = dvdnav 5
end
begin
remote = MX500-DVD
prog = mplayer
button = SELECT
config = dvdnav 6
end
begin
remote = MX500-DVD
prog = mplayer
button = RECORD_EXIT
config = quit
end
begin
remote = MX500-DVD
prog = mplayer
button = DIS
config = osd
end
begin
remote = MX500-DVD
prog = mplayer
button = PREV_CH
config = vo_fullscreen
end
# end mplayer
#
# OGLE Configuration
#-------------------------------------------------
# begin ogle
begin
remote = MX500-DVD
prog = ogle
button = SKIP_MENU
config = NextPG
end
begin
remote = MX500-DVD
prog = ogle
button = SKIP_BACK_GUIDE
config = PrevPG
end
begin
remote = MX500-DVD
prog = ogle
button = FFORWARD
config = Faster
end
begin
remote = MX500-DVD
prog = ogle
button = REVERSE
config = Slower
end
begin
remote = MX500-DVD
prog = ogle
button = PREV_CH
config = FullScreenToggle
end
begin
remote = MX500-DVD
prog = ogle
button = CH+
config = NextPG
end
begin
remote = MX500-DVD
prog = ogle
button = CH-
config = PrevPG
end
begin
remote = MX500-DVD
prog = ogle
button = STOP
config = PauseToggle
end
begin
remote = MX500-DVD
prog = ogle
button = PAUSE_INFO
config = PauseToggle
end
begin
remote = MX500-DVD
prog = ogle
button = PLAY
config = Play
end
begin
remote = MX500-DVD
prog = ogle
button = MENU
config = RootMenu
end
begin
remote = MX500-DVD
prog = ogle
button = UP
config = UpperButton
end
begin
remote = MX500-DVD
prog = ogle
button = DOWN
config = LowerButton
end
begin
remote = MX500-DVD
prog = ogle
button = LEFT
config = LeftButton
end
begin
remote = MX500-DVD
prog = ogle
button = RIGHT
config = RightButton
end
begin
remote = MX500-DVD
prog = ogle
button = SELECT
config = ButtonActivate
end
begin
remote = MX500-DVD
prog = ogle
button = 1
config = ONE
end
begin
remote = MX500-DVD
prog = ogle
button = 2
config = TWO
end
begin
remote = MX500-DVD
prog = ogle
button = 3
config = THREE
end
begin
remote = MX500-DVD
prog = ogle
button = 4
config = FOUR
end
begin
remote = MX500-DVD
prog = ogle
button = 5
config = FIVE
end
begin
remote = MX500-DVD
prog = ogle
button = 6
config = SIX
end
begin
remote = MX500-DVD
prog = ogle
button = 7
config = SEVEN
end
begin
remote = MX500-DVD
prog = ogle
button = 8
config = EIGHT
end
begin
remote = MX500-DVD
prog = ogle
button = 9
config = NINE
end
begin
remote = MX500-DVD
prog = ogle
button = 0
config = ZERO
end
begin
remote = MX500-DVD
prog = ogle
button = RECORD_EXIT
config = Quit
end
begin
remote = MX500-DVD
prog = ogle
button = RESERVED
config = RESERVED
end
# end ogle
##
# Xine key bindings.
# Automatically generated by xine-ui version 0.9.18.
##
# Reduce the output window size by factor 1.2.
begin xine
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = WindowReduce
end
# set video output window to 50%
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Window50
end
# set video output window to 100%
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Window100
end
# set video output window to 200%
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Window200
end
# Enlarge the output window size by factor 1.2.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = WindowEnlarge
end
# Select next sub picture (subtitle) channel.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SpuNext
end
# Select previous sub picture (subtitle) channel.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SpuPrior
end
# Visibility toggle of control window.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ControlShow
end
# Visibility toggle of output window visibility.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ToggleWindowVisibility
end
# Select next audio channel.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = AudioChannelNext
end
# Select previous audio channel.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = AudioChannelPrior
end
# Visibility toggle of playlist editor window.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = PlaylistEditor
end
# Playback pause toggle.
begin
remote = MX500-DVD
button = PAUSE_INFO
prog = xine
repeat = 0
config = Pause
end
# Visibility toggle of UI windows.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ToggleVisiblity
end
# Fullscreen toggle.
begin
remote = MX500-DVD
button = PREV_CH
prog = xine
repeat = 0
config = ToggleFullscreen
end
# Xinerama fullscreen toggle.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ToggleXineramaFullscr
end
# Aspect ratio values toggle.
begin
remote = MX500-DVD
button = ASPCT
prog = xine
repeat = 0
config = ToggleAspectRatio
end
# Visibility toggle of stream infos window.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = StreamInfosShow
end
# Display stream information using OSD.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = OSDStreamInfos
end
# Interlaced mode toggle.
begin
remote = MX500-DVD
button = ILACE
prog = xine
repeat = 0
config = ToggleInterleave
end
# Quit the program.
begin
remote = MX500-DVD
button = RECORD_EXIT
prog = xine
repeat = 0
config = Quit
end
# Start playback.
begin
remote = MX500-DVD
button = PLAY
prog = xine
repeat = 0
config = Play
end
# Visibility toggle of the setup window.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetupShow
end
# Stop playback.
begin
remote = MX500-DVD
button = STOP
prog = xine
repeat = 0
config = Stop
end
# Select and play next mrl in the playlist.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = NextMrl
end
# Select and play previous mrl in the playlist.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = PriorMrl
end
# Visibility toggle of the event sender window.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = EventSenderShow
end
# Edit selected mediamark.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = MediamarkEditor
end
# Eject the current medium.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Eject
end
# Set position to numeric-argument% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition%
end
# Set position to beginning of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition0%
end
# Set position to 10% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition10%
end
# Set position to 20% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition20%
end
# Set position to 30% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition30%
end
# Set position to 40% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition40%
end
# Set position to 50% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition50%
end
# Set position to 60% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition60%
end
# Set position to 70% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition70%
end
# Set position to 80% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition80%
end
# Set position to 90% of current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SetPosition90%
end
# Enter the number 0.
begin
remote = MX500-DVD
button = 0
prog = xine
repeat = 0
config = Number0
end
# Enter the number 1.
begin
remote = MX500-DVD
button = 1
prog = xine
repeat = 0
config = Number1
end
# Enter the number 2.
begin
remote = MX500-DVD
button = 2
prog = xine
repeat = 0
config = Number2
end
# Enter the number 3.
begin
remote = MX500-DVD
button = 3
prog = xine
repeat = 0
config = Number3
end
# Enter the number 4.
begin
remote = MX500-DVD
button = 4
prog = xine
repeat = 0
config = Number4
end
# Enter the number 5.
begin
remote = MX500-DVD
button = 5
prog = xine
repeat = 0
config = Number5
end
# Enter the number 6.
begin
remote = MX500-DVD
button = 6
prog = xine
repeat = 0
config = Number6
end
# Enter the number 7.
begin
remote = MX500-DVD
button = 7
prog = xine
repeat = 0
config = Number7
end
# Enter the number 8.
begin
remote = MX500-DVD
button = 8
prog = xine
repeat = 0
config = Number8
end
# Enter the number 9.
begin
remote = MX500-DVD
button = 9
prog = xine
repeat = 0
config = Number9
end
# Add 10 to the next entered number.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Number10add
end
# Set position back by numeric argument in current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SeekRelative-
end
# Set position to -60 seconds in current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SeekRelative-60
end
# Set position forward by numeric argument in current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SeekRelative+
end
# Set position to +60 seconds in current stream.
begin
remote = MX500-DVD
button = SKIP_MENU
prog = xine
repeat = 0
config = SeekRelative+60
end
# Set position to -30 seconds in current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SeekRelative-30
end
# Set position to +30 seconds in current stream.
begin
remote = MX500-DVD
button = xxxxx
prog = xine
repeat = 0
config = SeekRelative+30
end
# Set position to -15 seconds in current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SeekRelative-15
end
# Set position to +15 seconds in current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SeekRelative+15
end
# Set position to -7 seconds in current stream.
begin
remote = MX500-DVD
button = SKIP_BACK_GUIDE
prog = xine
repeat = 0
config = SeekRelative-7
end
# Set position to +7 seconds in current stream.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SeekRelative+7
end
# Visibility toggle of mrl browser window.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = MrlBrowser
end
# Audio muting toggle.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Mute
end
# Change audio syncing.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = AudioVideoDecay+
end
# Change audio syncing.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = AudioVideoDecay-
end
# Reset audio video syncing offset.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = AudioVideoDecayReset
end
# Change spu syncing.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SpuVideoDecay+
end
# Change spu syncing.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SpuVideoDecay-
end
# Increment playback speed.
begin
remote = MX500-DVD
button = FFORWARD
prog = xine
repeat = 0
config = SpeedFaster
end
# Decrement playback speed.
begin
remote = MX500-DVD
button = REVERSE
prog = xine
repeat = 0
config = SpeedSlower
end
# Reset playback speed.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SpeedReset
end
# Increment audio volume.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Volume+
end
# Decrement audio volume.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Volume-
end
# Take a snapshot (Internal image fetch and save).
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Snapshot
end
# Resize output window to stream size1:1.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Zoom1:1
end
# Grab pointer toggle.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = GrabPointer
end
# Jump to Menu.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = Menu
end
# Jump to Title Menu.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = TitleMenu
end
# Jump to Root Menu.
begin
remote = MX500-DVD
button = MENU
prog = xine
repeat = 0
config = RootMenu
end
# Jump to Subpicture Menu.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SubpictureMenu
end
# Jump to Audio Menu.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = AudioMenu
end
# Jump to Angle Menu.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = AngleMenu
end
# Jump to Part Menu.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = PartMenu
end
# Up event.
begin
remote = MX500-DVD
button = UP
prog = xine
repeat = 0
config = EventUp
end
# Down event.
begin
remote = MX500-DVD
button = DOWN
prog = xine
repeat = 0
config = EventDown
end
# Left event.
begin
remote = MX500-DVD
button = LEFT
prog = xine
repeat = 0
config = EventLeft
end
# Right event.
begin
remote = MX500-DVD
button = RIGHT
prog = xine
repeat = 0
config = EventRight
end
# Previous event.
begin
remote = MX500-DVD
button = xxxxx
prog = xine
repeat = 0
config = EventPrior
end
# Next event.
begin
remote = MX500-DVD
button = xxxxx
prog = xine
repeat = 0
config = EventNext
end
# Previous angle event.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = EventAnglePrior
end
# Next angle event.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = EventAngleNext
end
# Select event.
begin
remote = MX500-DVD
button = SELECT
prog = xine
repeat = 0
config = EventSelect
end
# Zoom into video.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ZoomIn
end
# Zoom out of video.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ZoomOut
end
# Zoom into video horizontally, distorting aspect ratio.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ZoomInX
end
# Zoom out of video horizontally, distorting aspect ratio.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ZoomOutX
end
# Zoom into video vertically, distorting aspect ratio.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ZoomInY
end
# Zoom out of video vertically, distorting aspect ratio.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ZoomOutY
end
# Reset zooming.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ZoomReset
end
# Toggle TV modes on the DXR3.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ToggleTVmode
end
# Visibility toggle of log viewer.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ViewlogShow
end
# Loop mode toggle.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ToggleLoopMode
end
# Key binding editor.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = KeyBindingEditor
end
# Switch Monitor to DPMS standby mode.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = DPMSStandby
end
# Display Mrl/Ident toggle.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = MrlIdentToggle
end
# Scan playlist to grab stream infos.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = ScanPlaylistInfo
end
# Add a mediamark from current playback.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = AddMediamark
end
# Download a skin from the skin server.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SkinDownload
end
# Open file selector.
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = FileSelector
end
# Select a subtitle file
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 0
config = SubSelector
end
##
# End of Xine key bindings.
##
end xine
# This is an example .lircrc file that shows the different config strings that
# vlc understand. button names are from an animax remote, and these may change
# with different remotes
begin
prog = vlc
button = PLAY
config = PLAY
end
begin
prog = vlc
button = PAUSE_INFO
config = PAUSE
end
#use this target if you have a combined play/pause button
begin
prog = vlc
button = PLAY_UP
config = PLAYPAUSE
end
begin
prog = vlc
button = STOP
config = STOP
end
begin
prog = vlc
button = RECORD_EXIT
config = QUIT
end
begin
prog = vlc
button = SKIP_MENU
config = NEXT
end
begin
prog = vlc
button = SKIP_BACK_GUIDE
config = PREV
end
begin
prog = vlc
button = PREV_CH
config = FULLSCREEN
end
begin
prog = vlc
button = REVERSE
config = SLOW
end
begin
prog = vlc
button = FFORWARD
config = FAST
end
begin
prog = vlc
button = VOLUME_DOWN_DOWN
config = VOL_DOWN
end
begin
prog = vlc
button = VOLUME_UP_DOWN
config = VOL_UP
end
begin
prog = vlc
button = UP
config = UP
end
begin
prog = vlc
button = DOWN
config = DOWN
end
begin
prog = vlc
button = LEFT
config = LEFT
end
begin
prog = vlc
button = RIGHT
config = RIGHT
end
begin
prog = vlc
button = SELECT
config = ACTIVATE
end