[EMAIL PROTECTED] wrote:
>  I noticed that while watching live tv an hitting ch+ or ch-, freevo 
> sends the quit command to mplayer and then reloads mplayer with the 
> next/previous channel (causing a flicker of the screen). I am using a 
> DVB card, and mplayer accepts the dvb_set_channel <channel_number> 
> <card_number> command from stdin, so, is there a special reason freevo 
> does not use this syntax for changing channel while in dvb mode? there 
> is also a tv_set_channel <channel> for tv mode.

The code in src/tv/plugins/mplayer.py in the eventhandler at line: 253
need to be changed, I can't do this as I don't have a dvb card to test
against.

elif self.current_vg.group_type == 'dvb':
    self.Stop(channel_change=1)
    self.Play('tv', nextchan)
    return TRUE

But is possible something like:

elif self.current_vg.group_type == 'dvb':
    if em.TV_CHANNEL_UP:
        self.app.write('dvb_set_channel nextchan <card_number>\n')
    else if em.TV_CHANNEL_DOWN:
        self.app.write('dvb_set_channel nextchan <card_number>\n')

Duncan




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to