Wednesday, August 5, 2009

MythTV and Lirc, adding pause to mplayer

Needed to add a keybinding for pausing video playback when MythTV uses mplayer, thought I might as well record how it worked here. The global lirc config (/etc/lircd.conf) points to your remote, in my case:

include /usr/share/lirc/remotes/dvico/lircd.conf.fusionHDTV

You then configure the appropriate buttons in
/home/mymythuser/.mythtv/lircrc
the pause button is as below. Most of the entries in this file will be for 'prog=mythtv' rather than mplayer:

begin
remote = DVICO_DUAL
prog = mplayer
button = playpause
config = p
repeat = 0
delay = 0
end

No comments: