MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Electronic Program Guide


Electronic Program Guide everything about EPG (xmlTV, WebEPG, dvb-EPG)

Reply
 
Thread Tools Display Modes
Old 2007-03-07, 10:39   #1 (permalink)
Retired Team Member
 
Join Date: Jan 2007
Posts: 72
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Lightbulb My EPG-setting

Hi folks,

I'd like to post how I get my EPG-data. This may be interesting or not to someone. But, when I was looking how to get EPG-data, I was searching and searching... So, I thought that I should share my way to get it.

At first, I tried the website-grabbers. But, I was rather unsatisfied with the result. So, I decided to buy a TV-Movie-ClickFinder abo.

I've got two TV-cards: One analog with cable tv and one DVB-T (Berlin). So, I had to solve the following problems:

1. Timesharing. Some channels (broadcaster) share the same service (frequency). Moreover, a channel may occur in more than one service, e.g. Ki.Ka appears in KI.KA / HSE24 and KI.KA / ZDFdokukanal.

2. One big XMLTV-import-file is bad for TVGuideScheduler since it blows up the entire XML-tree instead of parsing thru the file resulting in large memory demand.

I wrote a little JAVA-programme that does the following:

1. Run tvuptodate (TV-Movie-Clickfinder updater)
2. Run tvm2xml (Extract data from TV-Movie database to one large XMLTV-file)
3. Parse the XMLTV-file
3.1. Remap channels and consider timesharing and multiple occurrence
3.2. After each 1000 programmes, the data is flushed to an XMLTV-file which is imported using "TVGuideScheduler /FILE tvdatachunk.xml"

For parsing, I use the SAX-parser which does not blow up the entire XML-tree. So, it does not need much memory.

Open problems:

1. Setup the script to run overnight using PVR-scheduler.
2. Grab some channels that TV-Movie does not have from DVB-T EPG.
3. I have to investigate a little bit in this timezone thingy. Let's see what happens if we switch to summer time...

Regards

dero

Last edited by dero; 2007-03-07 at 15:36.
dero is offline   Reply With Quote
Reply

Bookmarks

Tags
epgsetting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help setting up the EPG... cdahmedeh General Support 2 2006-10-13 06:40
default setting for Keep Until [XStream] Codecs, External Players 0 2006-08-26 11:58
Need help w setting for ffdshow laeb66 Codecs, External Players 0 2006-03-30 10:44
Setting up MP for the amateur neilturner General Support 4 2006-02-09 16:17
Setting Files jameson_uk General Development (no feature request here!) 1 2005-02-23 09:47


All times are GMT +1. The time now is 23:22.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress