[mythtv-users] How to cyclic switch Audio in mplayer with LIRC ?

Carl Fongheiser carlfongheiser at gmail.com
Sun Sep 9 22:28:02 UTC 2007

On 9/9/07, Warpme <warpme at o2.pl> wrote:
> Hi *
> I have problem witch configuring LIRC to cycle switching DVD audio tracks.
> I put following statement into LIRCRC file:
> begin
>   prog = mythtv
>   button = audio
>   config = #
> end
> Pressing "#" key on keyb switches audio, but pressing audio key on
> remote doesn't. Remote is working OK - I tested audio key with other
> mplayer command.
> I think it is problem of "#" char - which is interpreted by LIRCD as
> comment sign - not char to be passed to mplayer.
> How can I then configure LIRC to pass "#" key to mplayer ?

You've got a couple problems here.  First of all, you're sending the command
to the wrong program.  The other problem is that mplayer doesn't use
keystroke commands in the .lircrc file.  You should use something like this:

  prog = mplayer
  button = audio
  config = switch_audio

Carl Fongheiser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070909/5d5d0e1f/attachment.htm 

More information about the mythtv-users mailing list