> -----Oorspronkelijk bericht----- > Van: oliver [mailto:oli...@schinagl.nl] > Verzonden: 10 October 2009 13:11 > Aan: freevo-users@lists.sourceforge.net > Onderwerp: Re: [Freevo-users] IVTV, can't get it to work for > the life of me. > > I'll try your script/settings, it looks promessing. > > Since i'm using the other tv grabber, would I don't have the > whole xmltv package anymore. This shouldn't be an issue i > don't think, as freevo is independant from it, except for the > TV.xml file. so using this pre-generated one would bypass the > .xml file issues I might have.
You don't need the xmltv package for downloading only the sorting part of xmltv. > > The thing I probably don't have is the xmltv.dtd which the > XML file references. So if i'd put that in the same directory > as the TV.xml, or some other location where everybody can > find it, could that be the issue at hand? Going to try these > suggestions anyway and see how I fare. I don't use (and don't need) the DTD-file... (Don't ask me why ;) > > Frank [Antispam account] wrote: > > > > > > > >> -----Oorspronkelijk bericht----- > >> Van: oliver [mailto:oli...@schinagl.nl] > >> Verzonden: 10 October 2009 02:38 > >> Aan: freevo-users@lists.sourceforge.net > >> Onderwerp: [Freevo-users] IVTV, can't get it to work for > the life of > >> me. > >> > >> Hi, > >> > >> I'm a quite happy freevo user for years. I think it's > great and works > >> quite well. I can't wait for freevo 2 to be out. > >> > >> For about 9 months I have had a PVR 150 IVTV based card in > this box > >> and never used it. Starting mplayer on the card and useing > v4l2-ctl > >> to set the frequencies worked like a charm though, so I > know the card > >> is in order. > >> > >> I however cannot get this thing to work in freevo. I wouldn't even > >> need any of the fancy recording stuff, simply watching TV would be > >> perfect just to get started.Timeshifting after and maybe scheduled > >> recordings someday .., but just watching plain tv I can't > even manage > >> to work out. > >> > >> First off, I am using > >> http://home.tiscali.nl/~lteunissen/tv_grab_nl_C/ > >> to generate an XMLtv file which looks more or less like this: > >> <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE tv SYSTEM > >> "xmltv.dtd"> > >> > >> <tv generator-info-name="tv_grab_nl_C 0.02.15" > >> > generator-info-url="http://home.tiscali.nl/~lteunissen/tv_grab_nl_C"> > >> <channel id="1.tvgids.nl"> > >> <display-name lang="nl">Nederland 1</display-name> > >> <icon > >> src="http://www.lyngsat-logo.com/hires/nn/nederland1.png" /> > >> </channel> > >> /* Cut some channels*/ > >> <programme start="20091010070000 +0200" > stop="20091010110000 +0200" > >> channel="7.tvgids.nl"> > >> <title lang="nl">Breakfast</title> > >> <desc lang="nl">Met om 7.25, 7.55 en daarna elk half > uur regionaal > >> nieuws. > >> </desc> > >> <category>Informatief</category> > >> <video> > >> <aspect>16:9</aspect> > >> </video> > >> </programme> > >> /* cut some programme's */ > >> </tv> > >> > >> this format I belive is the normal XML format for xmltv. > >> However, when going inside freevo into Watch TV -> TV > Guide, freevo > >> spits out the following error. "TV Guide is Corrupt". > >> Which I doubt, but ok. > >> > >> The console gives me the following error. > >> Freevo 1.9.0 ready > >> > >> Couldn't load the TV Guide, got an exception! > >> > >> Traceback (most recent call last): > >> File > >> "/usr/lib64/python2.6/site-packages/freevo/tv/epg_xmltv.py", > >> line 119, in get_guide > >> cached_guide = load_guide(XMLTV_FILE) > >> File > >> "/usr/lib64/python2.6/site-packages/freevo/tv/epg_xmltv.py", > >> line 174, in load_guide > >> (id, displayname, tunerid) = data[:3] > >> ValueError: need more than 2 values to unpack > >> > >> The relevant section in my local_conf.py are: > >> > >> plugin.remove('tv.generic_record') > >> plugin_record = plugin.activate('tv.ivtv_record') > >> #plugin.activate('tv.ivtv_basic_tv') > >> (yeah I tried with the basic tv plugin, nothing really). > >> > >> TV_SETTINGS = 'pal television europe-west /dev/video0' > >> > >> TV_DRIVER = 'v4l2' > >> TV_DEVICE = '/dev/video0' > >> TV_INPUT = 0 > >> > >> TV_VIDEO_GROUPS = [ > >> VideoGroup(vdev='/dev/video0', > >> adev=None, > >> input_type='1', > >> input_num=0, > >> tuner_norm='pal', > >> tuner_chanlist='europe-west', > >> group_type = 'ivtv', > >> desc='PVR-150 Video Group'), ] > >> > >> TV_CHANNELS = [ > >> ('1.tvgids.nl', 'Nederland 1', 'ned1') > >> ] > >> > >> TV_FREQUENCY_TABLE = { > >> 'ned1' : 21600, > >> } > >> > >> Even freevo tv_grab gives that error, whereas with the -q I get a > >> nice list of channels for local_freevo.conf > >> > >> I'm stuck and lost. The radio feature of the ivtv bit works also > >> within the plugin fine. > >> > >> > >> Any thoughts/pointers appreciated! > >> > >> Oliver > >> > >> -------------------------------------------------------------- > >> ---------------- > >> 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 > >> > >> -- > >> This message has been scanned for viruses and dangerous content by > >> MailScanner, and is believed to be clean. > >> > > > > > > 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 > > > > > > 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') > > ] > > > > TV_SETTINGS = '%s television %s %s' % (CONF.tv, CONF.chanlist, > > TV_DEVICE) > > > > TV_DRIVER = 'v4l2' > > TV_DEVICE = '/dev/video1' > > TV_INPUT=2 > > > > 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), > > > > ] > > > > TV_FREQUENCY_TABLE = { > > 'NED1' : 208000, > > 'NED2' : 216000, > > 'NED3' : 224000, > > 'RTL4' : 504000, > > 'RTL5' : 528000, > > 'SBS6' : 552000, > > 'RTL7' : 536000, > > 'VOO8' : 496000, > > 'NET5' : 688000, > > 'RTL8' : 776000, > > 'RNN7' : 480000, > > 'MULT' : 808000, > > 'LOK1' : 240000, > > 'BEL1' : 192000, > > 'BEL2' : 200000, > > 'BBC1' : 256000, > > 'BBC2' : 736000, > > 'ARD ' : 248000, > > 'ZDF ' : 488000, > > 'WDR ' : 568000, > > 'TV5 ' : 264000, > > 'LOK2' : 296000, > > 'AT5 ' : 672000, > > 'TVNH' : 184000, > > 'TMF ' : 744000, > > 'NATG' : 752000, > > 'ESPO' : 768000, > > 'ENEW' : 784000, > > 'ANPL' : 800000, > > 'DISC' : 816000, > > 'MTV ' : 832000, > > 'CNN ' : 856000, > > 'BBCW' : 696000, > > 'ZONE' : 560000, > > 'INFO' : 176000, > > 'TELL' : 728000, > > 'BOX ' : 848000, > > 'EXT1' : 592000 > > } > > > > Note: The latter is for Hoofddorp, NL (Ziggo) > > > > Greets, > > Frank > > > > > > > > -------------------------------------------------------------- > ---------------- > 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 > > -- > This message has been scanned for viruses and dangerous > content by MailScanner, and is believed to be clean. > -- 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