I have reached the breaking point and am now reaching out for help. :)

I cannot get my tvguide to show up in Freevo this is what I have done:

I used the script from
http://freevo.sourceforge.net/cgi-bin/moin.cgi/DocumentationPage_2fXmlTv#head-01da7dcbcb1c5fc16e5507553386a413fd730ab5
to download my channel data.

#!/bin/sh

todayis=`date +%Y%m%d`
/usr/bin/tv_grab_na --days 1 | tv_sort >
$HOME/freevo/xmltv/listings_$todayis.xml
rm -f /tmp/TV.xml
ln -s $HOME/freevo/xmltv/listings_$todayis.xml /tmp/TV.xml

This works and downloads the listings, these are the first few lines from
my new /tmp/TV.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

<tv date="20040222181931 -0900" source-info-url="http://www.zap2it.com";
source-info-name="Zap2It" generator-info-name="tv_grab_na V3.20040101"
generator-info-url="http://sourceforge.net/projects/xmltv";>
  <channel id="C100dckids.zap2it.com">
    <display-name>100 DCKIDS</display-name>
    <display-name>100</display-name>
    <icon
src="http://tvlistings2.zap2it.com/tms_network_logos/discoverychannel_30.jpg";
/>
  </channel>
  <channel id="C101dhc.zap2it.com">
    <display-name>101 DHC</display-name>
    <display-name>101</display-name>
    <icon
src="http://tvlistings2.zap2it.com/tms_network_logos/discoverychannel_30.jpg";
/>
  </channel>
  <channel id="C102science.zap2it.com">
    <display-name>102 SCIENCE</display-name>
    <display-name>102</display-name>
    <icon
src="http://tvlistings2.zap2it.com/tms_network_logos/discoverychannel_30.jpg";
/>
  </channel>

This is how I have my TV_CHANNELS setup in my local_config.py file:
TV_CHANNELS = [('<channel id="C1lifep.zap2it.com">', 'LIFEP', '1'),<--(An
attempt by me at trying something else.)
               ('2 KTUU', 'KTUU', '2'),
               ('3 TVGOS', 'TVGOS', '3'),
               ('4 KTBY', 'KTBY', '4'),
               ('5 KYES', 'KYES', '5'),
               ('6 KDMD', 'KDMD', '6'),
               ('7 KAKM', 'KAKM', '7'),
               ('8 WGNSAT', 'WGNSAT', '8'),
               ('9 LOOR009', 'LOOR009', '9'),
               ('10 GOAC010', 'GOAC010', '10'),.........

at the end it looks like this:
('511 TRUEP', 'TRUEP', '511'),
               ('512 WAMP', 'WAMP', '512'),
               ('Station 1a', 'Station 1a', '101', ('123', '0000', '1759')),
               ('101 Station 1b', 'Station 1b', '101', ('123', '1800',
'2359')),
               ('102 Station 2a', 'Station 2a', '102',
                ('12345', '0000', '2359')),
               ('102 Station 2b', 'Station 2b', '102', ('67', '0000',
'2359')),
               ('103 Station 3a', 'Station 3a', '103',
                ('1234567', '0000', '1559'), ('1234567', '2200', '2359')),
               ('103 Station 3b', 'Station 3b', '103',
                ('1234567', '1600', '2159'))]

Inside of Freevo the channels show up and I can see them but I can't get
the data to show up, I always get the "This channel has no data loaded."

I have deleted the pickeled file and restared Freevo and still no data is
showing up.

I have tried running this script from the same link as above:
#!/usr/bin/perl

while (<STDIN>) {
        chomp;
        if (/^\s+<channel\sid=\"(.*)\">$/) {
                $last_id = $1;
        } elsif (/^\s+<display-name.*>(.+)<\/display-name>$/) {
                $last_chan = $1;
        } elsif (/^\s+<display-name>\d+\s(.*)<\/display-name>$/) {
                $last_name = $1;
        } elsif (/^\s+<\/channel>$/) {
                print "('$last_id', '$last_name', '$last_chan'),\n";
        }
}

Naming it xmltv2freevo.pl then running it like this:

./xmltv2freevo.pl </tmp/TV.xml

This produces output like this:
('C100dckids.zap2it.com', '', '100'),
('C101dhc.zap2it.com', '', '101'),
('C102science.zap2it.com', '', '102'),
('C103gamesh.zap2it.com', '', '103'),
('C104dcwings.zap2it.com', '', '104'),
('C105dchome.zap2it.com', '', '105'),
('C106dtimes.zap2it.com', '', '106'),
('C107nogn.zap2it.com', '', '107'),
('C108gas.zap2it.com', '', '108'),
('C109nikton.zap2it.com', '', '109'),
('C10goac010.zap2it.com', '', '10'),
('C110mtv2.zap2it.com', '', '110'),
('C111mtvhit.zap2it.com', '', '111'),
('C112vh1cl.zap2it.com', '', '112'),
('C11ktva.zap2it.com', '', '11'),
('C12qvc.zap2it.com', '', '12'),...............

The channels are not in the correct order and it doesn't put the station
names in the line for the station. I have tried substituting  the output
from this program into my TV_CHANNELS= in my local_configure.py file. This
gives me the dreaded "TV Guide Corrupt" error, or however the error reads.

What am I missing? Can someone help me figure this out. Sorry for the long
post but I just wanted to make sure I included everything I have tried.

Thanks for any help,

Jon


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to