Ricky Schneberger wrote:

I have problem changing inputmode when watching TV in Freevo. I´m using TVtime as tv-app. It seems that tvtimes keyboardmappings is overrided by freevo, preventing me changing from the internal tuner to external sources.

Someone who can help me?
/Ricky


i had the same problem some time ago.
i added a few lines to src/tv/plugins/tvtime.py:
584,586d583
<       if event == "TV_SEND_TVTIME_CMD":
<           #print event.arg
<           self.app.write('%s\n' % event.arg)

i hope u can work with this diff.

if freevo starts without an error u can reconfigure the
buttons in your local_config
like this:
EVENTS['tv']['SELECT'] = Event(Event('TV_SEND_TVTIME_CMD'),
arg='MENU_ENTER')
EVENTS['tv']['UP'] = Event(Event('TV_SEND_TVTIME_CMD'), arg='MENU_UP')
EVENTS['tv']['DOWN'] = Event(Event('TV_SEND_TVTIME_CMD'),
arg='MENU_DOWN')
EVENTS['tv']['LEFT'] = Event(Event('TV_SEND_TVTIME_CMD'), arg='MENU_LEFT')
EVENTS['tv']['RIGHT'] = Event(Event('TV_SEND_TVTIME_CMD'), arg='MENU_RIGHT')
EVENTS['tv']['MENU'] = Event(Event('TV_SEND_TVTIME_CMD'),
arg='SHOW_MENU')


the second argument in EVENT is the freevo button name
which is defined in your lircrc
the last arg='' is the command which has to be send to tvtime
see tvtime-command manpage for possible values

have fun
mike


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to