[mythtv-users] lirc and Xine

Greg Shrack greg.shrack at usa.net
Tue Mar 30 23:28:33 EST 2004


DanM wrote:

> do you have something like
> begin
>   prog = xine
>   button = Play
>   config = Play
> end
> 
> in your .lircrc file?
> 
> -dan
> 
> On Tue, 30 Mar 2004, Michael A. Howell wrote:
> 
> 
>>Thanks for the all of the input - I tried the ln -s ~/.mythtv/lircrc
>>~/.lircrc command and it still does not work.  Am I missing something?
>>
>>Mike
>>----- Original Message -----
>>From: "Malcolm" <mythtv at lds.dyndns.org>
>>To: "Discussion about mythtv" <mythtv-users at mythtv.org>
>>Sent: Tuesday, March 30, 2004 9:29 AM
>>Subject: Re: [mythtv-users] lirc and Xine
>>
>>
>>
>>>----- Original Message -----
>>>From: "Jarod Wilson" <jcw at wilsonet.com>
>>>Sent: Monday, March 29, 2004 11:31 PM
>>>
>>>
>>>>>>All,
>>>>>>I am having trouble getting Xine to work with my haupgrey remote.  I
>>>>
>>>>downloaded Jarrod's lircrc->>haupgrey.txt file and the file works
>>>>perfectly.
>>>>I want to use Xine for DVD playback, so I >>searched the archives and
>>>>found
>>>>some txt to add to this file that should run Xine as well - but Xine
>>>>
>>>>>>does
>>>>
>>>>not respond to the remote whatsoever.  I have included my file below.
>>>>Please let me know >>if I am missing something here.
>>>>
>>>>>>BTW - I did after adding the Xine commands to Jarrod's file above I
>>>>>>did
>>>>
>>>>move it to the proper >>place with the following command:  mv
>>>>lircrc-haupgrey.txt ~/.mythtv/lircrc
>>>>
>>>>
>>>>>>Any help would be appreciated
>>>>
>>>>I can't get my remote working with Xine either.  It's my understanding
>>>>that
>>>>Myth uses ~/.mythtv/lircrc and Xine uses ~/.mythtv/.lircrc (notice the
>>>>. ).
>>>>Anyhow I'd also be very interested in knowing how to get lirc to work
>>>>with
>>>>Xine and mplayer.
>>>
>>>>>Not quite. Like Dan said, Xine (and mplayer) look for ~/.lircrc. Just
>>>>>"ln -s ~/.mythtv/lircrc ~/.lircrc" and all will be happy, sharing the
>>>>>same config file.
>>>>>
>>>>>--
>>>>>Jarod C. Wilson, RHCE
>>>
>>>Jarod,  I thought I also tried ~/.lircrc but maybe I had something else
>>>wrong at the time and will give it a try again.  If both xine and mplayer
>>>look at ~/.lircrc then is there a way to have them both work off the that
>>>one file?
>>>I use mplayer for MythVideo and xine for MythDVD.  I'm not just trying to
>>
>>be
>>
>>>difficult either :) here's why.
>>>
>>>Xine supports the menus under MythDVD.
>>>Xine however errors out when exiting MythVideo.  I then have to get the
>>>mouse and click on the errors which I can't hardly read on the TV.  Xine
>>>does not error out when exiting if you just play it normally on the
>>
>>monitor
>>
>>>without Myth.  Mplayer has no errors when exiting MythVideo but does not
>>>support DVD menus for MythDVD.
>>>
>>>Thanks
>>>Malcolm
>>>
>>>_______________________________________________
>>>mythtv-users mailing list
>>>mythtv-users at mythtv.org
>>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>_______________________________________________
>>mythtv-users mailing list
>>mythtv-users at mythtv.org
>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

I use the file from Jarod's guide in ~/.mythtv/lircrc, and then the xine 
settings in ~/.lircrc and it works great for me.  Try "xine 
--keymap=lirc" to get all the available lirc bindings (a very long list).

Mine looks like this:

begin
   remote = hauppaugegrey
   prog   = xine
   button = REW
   repeat = 3
   config = SeekRelative-30
end

begin
   remote = hauppaugegrey
   button = FFW
   prog   = xine
   repeat = 3
   config = SeekRelative+30
end

begin
   prog   = xine
   button = PLAY
   repeat = 3
   config = Play
end

begin
   prog   = xine
   button = STOP
   repeat = 3
   config = Stop
end

begin
   prog   = xine
   button = OFF
   repeat = 3
   config = Quit
end

begin
   prog   = xine
   button = PAUSE
   repeat = 3
   config = Pause
end

begin
   prog   = xine
   button = CH+
   repeat = 3
   config = EventUp
end

begin
prog = xine
button = CH-
repeat = 3
config = EventDown
end

begin
   prog   = xine
   button = VOL-
   repeat = 3
   config = EventLeft
end

begin
prog = xine
button = VOL+
repeat = 3
config = EventRight
end

begin
prog = xine
button = OK
repeat = 3
config = EventSelect
end

begin
prog = xine
button = BACK/EXIT
repeat = 3
config = Menu
end

begin
prog = xine
button = 0
repeat = 3
config = Number0
end

begin
prog = xine
button = 1
repeat = 3
config = Number1
end

begin
prog = xine
button = 2
repeat = 3
config = Number2
end

begin
prog = xine
button = 3
repeat = 3
config = Number3
end

begin
prog = xine
button = 4
repeat = 3
config = Number4
end

begin
prog = xine
button = 5
repeat = 3
config = Number5
end

begin
prog = xine
button = 6
repeat = 3
config = Number6
end

begin
prog = xine
button = 7
repeat = 3
config = Number7
end

begin
prog = xine
button = 8
repeat = 3
config = Number8
end

begin
prog = xine
button = 9
repeat = 3
config = Number9
end






More information about the mythtv-users mailing list