See answers inline... > -----Oorspronkelijk bericht----- > Van: Oliver Schinagl [mailto:oli...@schinagl.nl] > Verzonden: 10 October 2009 13:27 > Aan: freevo-users@lists.sourceforge.net > Onderwerp: Re: [Freevo-users] IVTV, can't get it to work for > the life of me. > > Before I try it all out, a few questions still > > Frank [Antispam account] wrote: > > > > > > Try the following script (if succes, put it in a daily > cron) for the > > (dutch) > > listings: > > > > theDate=`date +'%Y%m%d'`; > > wget http://xmltv.assies.info/tv-$theDate.xmltv.gz > > gunzip tv-$theDate.xmltv.gz > > for index in 24 25 26 27 20 21 28 29 4 401 400 8 59 58 50 > 313 312 311 > > 310 > > 317 316 315 314 115 114 116 111 110 113 112 82 83 81 86 87 > > 84 3 7 308 309 300 301 302 303 304 305 306 307 108 109 102 103 100 > > 101 107 > > 104 105 39 38 33 32 31 37 36 35 34 60 64 65 66 67 69 2 6 > > 402 99 91 90 93 92 94 11 10 13 12 15 14 17 16 19 18 89 49 > 46 40 1 5 9 > > 200 > > 148 74 73 70 > > do > > echo $index; > > search="channel id=\"$index"; > > replace="channel id=\"$index.tvgids.nl"; > > sed "s/channel id=\"$index\"/channel > id=\"$index.tvgids.nl\"/g" > > tv-$theDate.xmltv > tv-$theDate.xmltv.replace1 > > sed "s/channel=\"$index\"/channel=\"$index.tvgids.nl\"/g" > > tv-$theDate.xmltv.replace1 > tv-$theDate.xmltv done mv > > tv-$theDate.xmltv /etc/xmltv/listings/listings_$theDate.xml > > cp /etc/xmltv/listings/listings_$theDate.xml /tmp/TV.xml > > /usr/bin/tv_sort < /tmp/TV.xml > /etc/xmltv/TVsorted.xml > > > This seems to rename the xmlid's to tvgids.nl id's I take it > i can just leave the numbers and rename my tv_channels?
I think I did this because the TV_CHANNELS don't accept numbers where you put "1.tvgids.nl" and the XML-file you download only has numbers (I'm not sure ;) > > > > And add the following to the local_conf.py: > > > > > > TV_CHANNELS = [ > > ('1.tvgids.nl', 'Nederland 1' , 'NED1'), > > ('2.tvgids.nl', 'Nederland 2' , 'NED2'), > > ('3.tvgids.nl', 'Nederland 3' , 'NED3'), > > ('4.tvgids.nl', 'RTL 4' , 'RTL4'), > > ('31.tvgids.nl', 'RTL 5' , 'RTL5'), > > ('36.tvgids.nl', 'SBS 6' , 'SBS6'), > > ('46.tvgids.nl', 'RTL 7' , 'RTL7'), > > ('92.tvgids.nl', 'RTL 8' , 'RTL8'), > > ('37.tvgids.nl', 'NET 5' , 'NET5'), > > ('34.tvgids.nl', 'Veronica' , 'VOO8'), > > ('91.tvgids.nl', 'Comedy Central' , 'BOX'), > > ('29.tvgids.nl', 'Discovery Channel' , 'DISC') > > ] > > > I noticed in the multi tuner setup, they used more fields > after the channelfrequency thinger, as to which tuner you'd > use for it. I reccon with 1 tuner that's a non-issue? I have a PVR250 and this option works for me (And because it does, I left it ;) > > TV_SETTINGS = '%s television %s %s' % (CONF.tv, CONF.chanlist, > > TV_DEVICE) > > > This line is in the config file twice, once to be filled in, > and once as such, I take it the second one, under TV_Channels > should remain exactly as such? ith the %s's etc) The %s-version is the one created with the values of freevo.conf. For Freevo it doesn't matter is you use the %s-version or put the right vars in it > > TV_DRIVER = 'v4l2' > > TV_DEVICE = '/dev/video1' > > TV_INPUT=2 > > > TV_INPUT means an amount or a type? I got it 0 as that is my > tuner, but then maybe i need 1 as I have one tuner/input? TV_INPUT refers to the array in TV_VIDEO_GROUPS. I'm not sure, but the array starts with 1. So TV_INPUT is this group: VideoGroup( vdev=TV_DEVICE, adev=AUDIO_DEVICE, input_type="tuner 1", input_num=0, tuner_norm=CONF.tv, tuner_type='internal', tuner_chanlist=CONF.chanlist, desc="TV", group_type="ivtv", record_group=None), > > TV_VIDEO_GROUPS = [ > > VideoGroup( > > vdev=TV_DEVICE, > > adev=AUDIO_DEVICE, > > input_type="tuner 1", > > input_num=0, > > tuner_norm=CONF.tv, > > tuner_type='internal', > > tuner_chanlist=CONF.chanlist, > > desc="TV", > > group_type="ivtv", > > record_group='TEST'), > > VideoGroup( > > vdev=TV_DEVICE, > > adev=AUDIO_DEVICE, > > input_type="tuner 1", > > input_num=0, > > tuner_norm=CONF.tv, > > tuner_type='internal', > > tuner_chanlist=CONF.chanlist, > > desc="TV", > > group_type="ivtv", > > record_group=None), > > > > ] > > > > > Since I only have 1 tuner (you seem to have the PVR500) one > gruop should be ok I take it. See above ;) > > TV_FREQUENCY_TABLE = { > > } > It uses the same format as I have, so that'll be cool. > > > > Note: The latter is for Hoofddorp, NL (Ziggo) > > > > Greets, > > Frank > > > > > > > > Greets, Frank -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users