View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Sep 17, 2004 12:48 am 
Offline
Joined: Sat Feb 21, 2004 2:19 pm
Posts: 8
Location: Wellington, New Zealand
As people may be aware, the XMLTV feed for New Zealand has recently died. There are now some replacements available from the XMLTV/Python based project, but they don't have all the channels.

Fortunately, someone has made some nice alternatives - but I can't seem to get them to go.

So, here is what I have done:

1. Created a new tv_grab_nz file with the following contents:
Code:
#!/bin/sh
#

lynx -source http://ontv.orcon.net.nz/listings.xml


2. chmod 755 tv_grab_nz
3. renamed old tv_grab_nz file
4. mv tv_grab_nz /usr/bin

As you can see, my new tv_grab_nz file downloads the listings from the ontv website - and sends the contents to stdout. I am fairly sure that the contents of the file match the XMLTV standard.

5. I have also removed all present the channel settings by checking all the 'delete' checkboxes in MythWeb / Settings / Channels.

6. So, I run mythfilldatabase --manual
7. And I get...

Code:
###
### Running in manual channel configuration mode.
### This will ask you questions about every channel.
###
----------------- Start of XMLTV output -----------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<tv source-info-url="http://nz.ontv.uni.cc">
<channel id="One" xmlns="xmltv">
.
.
.
        <programme start="20040924015500" channel="3">
                <title><![CDATA[World News Tonight]]></title>
                <desc><![CDATA[]]></desc>
        </programme></tv>
------------------ End of XMLTV output ------------------
Error in 1:1: unexpected end of file
Updating icons for sourceid: 1
Adjusting program database end times...
0 replacements made.


The error appears to indicate that something is wrong with the XMLTV contents.

Notes:

1. I have also tried the other suggested alternatives for XMLTV grabbers for New Zealand, but they seem to have the same problem.
2. Do you think it could be something to do with pumping the contents of the file to stdout? I think this is what XMLTV does. Maybe someone can correct me.
3. Maybe I have just wrecked my database somehow, and I should rebuild it. Is this possible?
4. Or should I just reinstall my whole system again - hopefully not.

Any help would be much appreciated.

Thanks

Nigel Ramsay


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 17, 2004 6:37 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
This isn't a KnoppMyth installation.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu