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