View Full Version : EPG from Teletext?
Now the new drivers for the hauppauge cards support teletext, wouldn't it be great to have the epg-data pulled from there. I don't have fast permanent internet access from my HTPC, but it is permanently connected to the TV-cable!
Most (or all) tv-stations have their programmes listed on their teletext site for the next five days or so. VTPlus can export these sites in text-format. Now the question is, does anyone know of, or is able to program a that converts these text files into (simple) wmltv files?
2004-02-06, 03:30 PM
That would be interesting!
I am no programmer though..and oh! add subtitles from teletext too please!
2004-02-14, 06:09 PM
Sounds like a great idea - however I don't believe they have teletext in New Zealand where sub is based, which is going to make it a bit hard for him to do it... http://gbpvr.com/iB_html/non-cgi/emoticons/tounge.gif
We do have Teletext here, but I dont think it works the same way as the UK for TV listings. We've also only got about two of our channels publishing data this way.
If someone can come up with a proof-of-concept type application (or graph or whatever), I'm sure we can implement this. The EPG source were written using a plugin architecture, so we should be able to write a Teletext EPG grabber.
Well I've started coding a vbs-script to do this. It is not that complicated when starting from vtplus with a filter.
The basis is in place, now the little bits and pieces to get it working properly have to be dealt with.
I use vbscript as this doesn't require any special software to create. Also, the task is failry simple.
When I have a first running version I'll keep you posted.
Sounds good. Thanks for the hard work - please keep us informed of your progress - i for one am very interested in seeing this working,
Yes, keep us up to date. If you need anything let me know.
version 0.6 actually works!
It is not completely plug and play, but it gets the job done. Now I have to make some instructions and add some more comments in the code.
However, there is no error checking! So when a station "forgets" to update their program, that is what you'll get.
The coming days I'll make a package and post it for anyone interested.
Sub, I don't keep gbpvr running 24/7. Is the EPG re-read when gbpvr restarts? Or only "between 3 and 4 am" as I remember having read.
Great! Well done.
At the moment it only updates at 'between 3 and 4 and' or when you click the update EPG button. How about if I add support for a -updateEPG parameter to GB-PVR which will process the EPG sources on start up?
Are you producing XMLTV files from the output of vtplus?
Your suggestion on updating the EPG at gbpvr startup would be very handy.
And yes, I have made a vtplus-script that loads the program listings from the different stations (this is an editable script to be adapted to every user's wishes). Then vtplus saves the pages in text format with a filter (also to be specified/made by every user; I include several filters) to take out unnecessary stuff (pagenumber etc). The vb-script then transforms the textfiles into xmltv. This can all be automated either via vtplus or via a batchfile.
GBPVR understands the output. GBPVR doesn't like the "&" character, so I check the output on the existence of "&" in the file. For now it is replaced by the Dutch word "en".
By the way the increase in gbpvr functionality with an EPG is like a quantum leap!!
It's great to program again after many years of only an occasional batch-file....
Fantastic. Sounds like this will be great, cant wait to give it a go,
Great to see all the enthusiasm. However, it is quite course. As the detail descriptions of the programs are on different pages than the listings, they cannot be included. *http://gbpvr.com/iB_html/non-cgi/emoticons/sad.gif
Also, I noticed some stations don't include the endtime of their last show. I have to find a fix for that.
Quote[/b] (MaBo @ Feb. 18 2004,10:42)]GBPVR understands the output. GBPVR doesn't like the "&" character, so I check the output on the existence of "&" in the file. For now it is replaced by the Dutch word "en".
The "&" character is not valid in XML, replace it with "&amp;"
I already wanted to try that... The same for the English pound I came across yesterday.
Sub, could it be that when gbpvr updates the EPG a part is kept from the old EPG? Yesterday I had the new EPG generated, but then some programs appeared twice in gbpvr, shifted a few minutes. On checking the EPG.xml file generated by my script I only found one instance of the program. Possibly the program times had changed a few minutes, the TeleText pages were updated accordingly and so was the EPG.xml file generated by my script.
Another thing was that I found that I can start playing a file that is being recorded which is great! This way I can schedule a pause-tv session (one of my wishes...). However, every now and then playing stopped and the recordings menu reappeared.
ASUS pundit, pvr 350, celeron 2600, 512 MB, 160GB HD, winXP Pro
I think the old EPG data is maintained and the new stuff is simply added on top.
I believe the next version will have an empty EPG button, so you can clear out the old data before adding the new,
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.