On 6/18/07, Alex Stansfield <[EMAIL PROTECTED]> wrote:
> mike lewis wrote:
> > Here is the plugin i posted before.. To get this working with
> > xinelibout you only need to do the following:
>
> Hi,
>
> a quick question regarding using xine, vdr and freevo. I thought you or
> someone else here might be able to help.
>
> I'd like to get this up and running and the only thing holding me back
> is configuring my remote through lirc to work in xine and freevo.
>
> I noticed there are configuration settings when watching video in xine
> that will pass lirc calls from freevo onto xine. I was wondering if the
> same thing can be setup when using xine to play TV (using vdr)?
>
> Basically I want to be able to navigate through freevo with the remote
> but when I go to TV I want the remote to control xine (and therefore vdr).
>
> Cheers,
>
Hi Alex,
Yep, this is the norm. From a technical perspective (someone can
correct me here if I'm wrong). it works like this:
i ) Freevo is the lirc client. Freevo accepts the lirc events.
ii ) Freevo runs xine. Freevo controls xine via stdctrl (stdin).
iii ) Freevo converts a lirc event to a stdctl event to tell xine wht you want.
These are the events available in the plugin above:
---
VDR_EVENTS = {
'PLAY' : PLAY,
'PAUSE' : PAUSE,
'STOP' : STOP,
'EXIT' : Event('EXIT'),
'UP' : Event('UP'),
'DOWN' : Event('DOWN'),
'LEFT' : Event('LEFT'),
'RIGHT' : Event('RIGHT'),
'0' : INPUT_0,
'1' : INPUT_1,
'2' : INPUT_2,
'3' : INPUT_3,
'4' : INPUT_4,
'5' : INPUT_5,
'6' : INPUT_6,
'7' : INPUT_7,
'8' : INPUT_8,
'9' : INPUT_9,
'RED' : Event('RED'),
'GREEN' : Event('GREEN'),
'YELLOW' : Event('YELLOW'),
'BLUE' : Event('BLUE'),
'POWER' : Event('POWER'),
'MENU' : MENU,
# 'BACK' : Event('BACK'),
#michaell
'ENTER' : Event('BACK'),
'SELECT' : Event('SELECT'),
'VOL+' : Event('VOL+'),
'VOL-' : Event('VOL-'),
'MUTE' : Event('MUTE'),
'CH+' : Event('CH+'),
'CH-' : Event('CH-'),
'FFWD' : Event('FFWD'),
'REW' : Event('REW'),
'REC' : Event('REC'),
'ASPECT' : Event('ASPECT'),
'ZOOM' : Event('ZOOMIN'),
'DVHS' : Event('ZOOMOUT'),
'RECORDINGS' : Event('RECORDINGS'),
'CHANNELS' : Event('CHANNELS'),
'AUDIO' : Event('LANG'),
'SCHEDULE' : Event('GUIDE'),
'TIMERS' : Event('TIMERS'),
'SETUP' : Event('SETUP'),
'COMMANDS' : Event('EJECT'),
}
---
However, something that I need to change: with this vdr plugin, when
"playing" a recoding; if the user hits stop, then xine take the event
and stops playing. What should happen is xine sends the event to vdr
to stop the playback. Not xine stop playing the vdr stream.
Mike
Take a look
> Alex
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Freevo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users