[mythtv-users] mplayer mappings for .lircrc

Andrew Davis andrew at nccomp.com
Wed Sep 27 03:55:06 UTC 2006


Thanks for that... I'm curious, since MythTV uses mplayer for its 
internal dvd player... and since it has dvd menu support, wouldn't it 
make sense that mplayer would support chapter skipping? If so, how would 
I program a command to skip forward or back a chapter? I understand the 
lircrc file now, but I don't know the mplayer command for skipping 
chapters, assuming one exists...

AD

sarvin wrote:
>
> 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