View Full Version : How are you getting xml data at the moment for uk?
danward79
02-04-2004, 03:03 PM
Hi
Just wondering how people are getting there epg data, in xml format at the moment with the rt grabber and the annova grabber not working?
Mine runs out tonight at midnight!!!
HELP!!!!!!!!!!!!!!!!...................
Dan
I use the tv_grab_uk_rt grabber from xmltv 0.5.28 - no problems with it at all.
danward79
02-04-2004, 04:12 PM
Everytime i do a rip with that, it doesnot get relisted in sage, even when i exit and restart
nielm
02-05-2004, 02:18 AM
Dan, have you got any Java exception messages in the sagetv_0.txt files?
Did you try the xmltv data with the stand-alone plugin tester to rule out problems with the plugin or the xmltv?
MrManson
02-05-2004, 04:03 AM
I'm using 0.5.27 ok (after setting up an entry in my hosts file to get around the RT site rename).
Dan - is there actually anything in your epgdata.xml (ie is the grabber working) or is it the plugin/Sage that's not importing the data?
Also, if your epgdata.xml does contain data, check the end of it to see if the --share... line has been added and is screwing it up...
http://forums.freytechnologies.com/forums/showthread.php?s=&threadid=2986&perpage=20&pagenumber=2
danward79
02-05-2004, 02:33 PM
Hi,
My data does have the --share line, i removed it but still no joy
What file did you edit to change the website name?
I had a look could not see anything obvious
Dan
danward79
02-05-2004, 03:08 PM
Nielm
I do have exception errors I attach the file what do you think?
Something about unparsable date?
Thanks
Dan
danward79
02-05-2004, 03:22 PM
I ran the plugin tester I get this
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/par
sers/SAXParser
at PluginTester.main(PluginTester.java:10)
Dan
MrManson
02-05-2004, 04:18 PM
Dan, I think you have multiple setup issues here.
The --share line is ending up in your data because xmltv.exe doesn't like the way that you are running it. Try this...
Originally posted by MrManson
Here is the batch file that I use to run xmltv...
xmltv tv_grab_uk_rt --days 7 --share="C:\Program Files\xmltv\xmltv-0.5.27-win32\share\xmltv" > listings.xml
copy listings.xml "C:\Program Files\Frey Technologies\SageTV\epgdata.xml"
exit
Hope it helps.
Also, if you are using xmltv-0.5.27 or earlier you will have to make a small change to another file to "fool" your computer into looking at a different location for the Radio Times listings (as they have been moved).
Assuming you have a "standard" Windows install go to your C:\WINDOWS\SYSTEM32\drivers\etc directory and find a file called HOSTS. Under the line which says:
127.0.0.1 localhost
you need to put another line...
212.58.235.200 www.radiotimes.beeb.com
Originally posted by nielm
looks like radiotimes have changed their domain from:
radiotimes.beeb.com
to
radiotimes.com
There is already a patch on XMLTV to handle this (886138), but if you use the Perl sources for XMLTV then just a search/replace will fix it.
For those using the 0.5.27 XMLTV EXE putting the following in your hosts file -- %WINDIR%/system32/drivers/etc/hosts -- may fix it
212.58.235.200 www.radiotimes.beeb.com
For those using the new alpha with the extra channels fix, you will have to wait for a new EXE because the URL is also used internally for cookies and page parsing... Sorry...
...that will tell your computer to look in a new location each time it is asked to get data from www.radiotimes.beeb.com (which USED to be the address for the listings).
Alternatively you could use xmltv-0.5.28 - which has been changed to pick up the new address...
Originally posted by nielm
XMLTV 0.5.28 (http://sourceforge.net/project/showfiles.php?group_id=39046&package_id=31217&release_id=214263) has just been released with source and Win32 EXE versions.
This should fix tv_grab_uk_rt (at least the release notes say so, I have not tested it), and include my patch for getting lots more channels than before.
Note that tv_grab_uk_rt now has a fast mode by default (where only program times and titles are downloaded) and an optional slow mode (--slow command line arg) -- giving same behaviour as before (with detailed descriptions, actors etc, but very slow download times).
Good luck!
nielm
02-06-2004, 03:50 AM
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/par
sers/SAXParser
at PluginTester.main(PluginTester.java:10)
It looks like the xerces.jar file (The XML parser) cannot be found...
Have you re-installed or updated Java recently? If so, you need to re-install this Java add-in file (see Step 3 in the xmltv HOWTO (http://forums.freytechnologies.com/forums/showthread.php?postid=9277#post9277))
If this is the same error as in sagetv_0.txt (the file was not attached to your post) this may solve it...
danward79
02-06-2004, 02:27 PM
This is weird, I changed back to version .27, did the hosts hacks and it works perfectly!
Dan
vBulletin® v3.7.6, Copyright ©2000-2010, Jelsoft Enterprises Ltd.