Koval Valery a écrit : > May be I'm not fully describe my patch or I don't understand you (or I > don't have this example early :) ). > > Please describe me how can I switch between 2 standards - PAL and > SECAM-DK (not SECAM 0x7F0000) for 2 channels? The channels I watch from > cable TV (in my cable TV present channels in SECAM-DK and PAL standards). > Ok, first of all, you need a way to select either PAL or SECAM -DK. That sounds obvious :-)
Let's say that, if you choose secam-dk in your freevo.conf file, you're able to see all secam-dk channel, and if you select pal, you're able to see all pal channels. > > What I must write in TV_CHANNELS for PAL and SECAM-DK channels for > switch standard if switched channels? > > TV_CHANNELS = [ > ('Infosport', 'InfoSport', 'K09'), #SECAM-DK ? > ('C162.telepoche.com', 'Yvelines/Bloomberg', 'K07'), #PAL ? > ] > No, the differences is not here, it's the last number, like that : ('C170.telepoche.com', 'LCP', 'S10'), #Secam, or more exacly the first VideoGroup ('C5.telepoche.com', 'N7 ARTE', '0', '', '1'), # the '1' at the las position refers to the second VideoGroup, so this is PAL from memory : 1rst field : ref to EPG program 2nd field : name of the channel 3rd field : Tuner channel (for my cable input, tuner channel 0 is just good !) 4rt field : time schedule of the channel (if the frequency is used by two different TV channel, maybe one in the day and one in the evening) 5ft field : VideoGroup, starting from 0. A missing fift field is defaulted to 0 > VIDEO_GROUPS = [ > # Use this group for watching/record tv through SECAM-DK > VideoGroup(vdev='/dev/video0', > adev=None, > input_type='tuner', > tuner_norm='SECAM-DK', > tuner_type='', > tuner_chanlist=CONF.chanlist, > desc='Watching Video Group (SECAM-DK)', > group_type='ivtv', > ), > # Use this group for watching/record tv through PAL > VideoGroup(vdev='/dev/video0', > adev=None, > input_type='tuner', > tuner_norm='PAL', > tuner_type='', > tuner_chanlist=CONF.chanlist, > desc='Watching Video Group (PAL)', > group_type='ivtv', > ) > ] > > Hope this heps, -- Pascal Schirrmann ------------------------------------------------------------------------- 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-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel