[mythtv-users] mplayer mappings for .lircrc

sarvin sarvinc at fastmail.fm
Wed Sep 27 03:12:19 UTC 2006


On Sep 26, 2006, at 1:19 PM, Andrew Davis wrote:

> Now that I have my remote working, I noticed that the lircrc I  
> borrowed
> has mappings for xine. Presumably the one I borrowed was created  
> either
> before MythTV integrated a DVD player or the user just preferred xine.
> Nonetheless, I'm running .20 and it appears that mplayer is the  
> default
> dvd/ripped movie player. Can someone post an lircrc config that  
> reflects
> mplayer instead of xine for common stuff like stop, play, fastforward,
> skip, etc? I'm finding that I can navigate MythTV with my remote but
> once I start a movie, the remote ceases to work.
>
> Thanks in advance...

This is what I've got in my .lircrc:

### 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
repeat = 3
config = quit
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



More information about the mythtv-users mailing list