Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1
Hi
Is there a good xmltv database available?
Thanks in advance
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#2
Do you mean like Showtime?
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#3
Yeah, just like showtime
I don't like the showtime's interface, so want to write my own program.
Is there a database to get the program for several (e.g. 3) days?
 
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#4
Originally Posted by marmistrz View Post
Yeah, just like showtime
I don't like the showtime's interface, so want to write my own program.
Is there a database to get the program for several (e.g. 3) days?
Showtime uses XMLTV, so why not take a look at the source code? Then you can see how it retrieves and uses the data.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#5
Yeah, I noticed it.... But the look at xmltvepg.be. The file are there but there may be problems in the future. I'm looking for an alternate server...
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#6
ok. the files on the server are alright.
but I'm still looking for a mirror
 
Posts: 2 | Thanked: 0 times | Joined on Mar 2010
#7
The monthly allowed bandwidth for this website has been exceeded.
Yea, can see where youre getting at

It an industry, enough said however there are plenty of crawlers available - only I havent seen any BE ones. After checking there is a commercial alternative though.

Your direct approach would be to download and parse the listings directly from a service provider. Check out the XMLTV packages for *nix distributions, it is python dependant and works in most platforms - besides Maemo atm.

Personally ive been doing the same as you, making from scratch an UI for xmltv feeds - my application however relies on user to have either a service provider as the one you point out or to create the xml file for themself with the parsers available.


XMLTV grabber EU (BE language available EUR 18 / year)

The grabbers are quite CPU extensive - but should there be anyone outthere willing to port xmltv python packages, Please say so
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#8
Btw. I think I found the mirrors....

from here: http://www.pli-images.org/getfile.ph...&file_id=10729

I'll check 'em out.. I hope they'll be working - I'd like to keep my program free of charge

<source type="gen_xmltv" channels="http://www.xmltvepg.be/rytec.channels.xml.gz">
<description>Rytec Portugal XMLTV</description>
<url>http://www.xmltvepg.be/rytecxmltvportugal.gz</url>
<url>http://www.world-of-satellite.com/rytecxmltvportugal.gz</url>
<url>http://www.xmltvepg.nl/rytecxmltvportugal.gz</url>
<url>http://www.tm800hd.co.uk/rytec/rytecxmltvportugal.gz</url>
<url>http://rytec.tman.nl/rytecxmltvportugal.gz</url>
<url>http://xmltvepg.isgreat.org/rytecxmltvportugal.gz</url>
</source>
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#9
How did you convert the xmltv data to strings? could you tell which src files do that?
 
Posts: 2 | Thanked: 0 times | Joined on Mar 2010
#10
Originally Posted by marmistrz View Post
How did you convert the xmltv data to strings? could you tell which src files do that?
Here is the latest, best-option for embedded systems, the textreader. Previously this code was written, parsing the xmlpp::Element / xmlpp::NodeList structure - see secondary links

xmlpp::TextReader

NodeLists:

Flow of parser
foreach Channel
parse Program
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:31.