[mythtv-users] Need some help with Remote
Michael T. Dean
mtdean at thirdcontact.com
Thu Aug 31 16:22:50 UTC 2006
On 08/31/06 04:47, Rod Emerson wrote:
>Kevin Saenz wrote:
>
>
>>Does anyone know how to configure this remote to use Vol - and Vol+ to act
>>as left and right only for the Mythfrontend, and behave like Vol- and Vol+
>>in Mplayer?
>>
>>
>If your /etc/lircd.conf calls the buttons vol_up and vol_down,
>(and your using irxevent) then you could use something like :
>
> ~/.lircrc
>
> begin
> prog = irxevent
> button = vol_up
> config = Key Right CurrentWindow
> end
>
> begin
> prog = irxevent
> button = vol_down
> config = Key Left CurrentWindow
> end
>
> ~/.mplayer/input.conf
>
> RIGHT volume +5
> LEFT volume -5
>
Or better, use native LIRC in both MythTV and MPlayer, and in
~/.mythtv/lircrc (which could be linked to ~/.lircrc):
begin
prog = mythtv
button = vol_down
config = Left
repeat = 1
end
begin
prog = mythtv
button = vol_up
config = Right
repeat = 1
end
and in ~/.lircrc
begin
prog = mplayer
button = vol_up
config = volume 1
repeat = 1
end
begin
prog = mplayer
button = vol_down
config = volume -1
repeat = 1
end
And don't modify ~/.mplayer/input.conf . Myth knows to ignore LIRC
commands after it starts external programs (such as MPlayer), so as long
as you start MPlayer through Myth, Myth won't respond to those button
presses in the background.
Mike
More information about the mythtv-users
mailing list