[mythtv-users] Using the remote in Mplayer

Robin Gilks g8ecj at gilks.org
Mon Dec 31 02:21:01 UTC 2007


> Hi.
> I configured Mplayer as the video player program for some types of
> video, because I realized that it is better than the integrated video
> player of MythTV.
> It works, but I can't use the remote controls as I was using in the
> integrated video player of MythTV.
> For example I cannot close the video player and return to the main
> MythTV menu because I don't know what are the key bindings of Mplayer
> in MythTV.
> Could you help ne please?
> Thank you very much in advance!
> Bye.

Mplayer uses lirc completely independently of mythtv. Here is an extract
from my lircrc file. It has a section for mythtv, one for xine and this
section for mplayer. Note that the keys defined in your lirc.conf file may
very well be different to mine but I hope you will get the idea.

### MPlayer lirc setup

# Show OSD
begin
    prog = mplayer
    button = Guide
    config = osd
end

begin
    prog = mplayer
    button = Home
    config = osd
end

# Pause playback
begin
    prog = mplayer
    button = Pause
    config = pause
end

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

# Stop playback and exit
begin
    prog = mplayer
    button = Back
    config = quit
end

# Mute
begin
    prog = mplayer
    button = Mute
    config = mute
end

# Seek back 10 seconds
begin
    prog = mplayer
    button = Left
    repeat = 1
    config = seek -10
end

# Seek forward 30 seconds
begin
    prog = mplayer
    button = Right
    repeat = 1
    config = seek +30
end

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

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

begin
    prog = mplayer
    button = VolUp
    repeat = 1
    config = volume +1
end

begin
    prog = mplayer
    button = VolDown
    repeat = 1
    config = volume -1
end




-- 
Robin Gilks




More information about the mythtv-users mailing list