MediaPortal Forums HTPC/MediaCenter

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


WebEPG everything related to WebEPG in here

Reply
 
Thread Tools Display Modes
Old 2006-07-24, 23:54   #1 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 21
Thanks: 5
Thanked 0 Times in 0 Posts


Default Complete EPG data updated in less than 10 seconds

Hi All,

I am new to this forum, and I don't know if what I am about to write is already known to everybody, if that's the case I appologise.

But!

If not, I'm glad I could help.

Downloading xmltv data can take a long time, especially when you use the parameter --slow.

The xmltv.exe does not only download the info, it has to sort and clean the data.
This does not only put strain on your CPU and internet bandwith,
it also puts a lot of strain on the websites that contain the data.

With Mediaportal and others becoming ever more popular, these websites will get more and more stressed and they will for sure take action to stop this from happening.

So I thought to myself, why are we all doing the same thing while we could let one do the sorting and cleaning and the rest of us just download the sorted data?

Well, it appears I wasn't the first to come up with this idea.

on http://xmltv.assies.info/ you can find the xmltv files for 3 days already cleaned and sorted.
Only problem is how to combine these to one tvguide.xml.

Well, someone has fixed that too

I stumbled upon this site http://members.home.nl/robertprins/

There you can download a vbs script that does the trick.
Even more so it can combine any xmltv files to one tvguide.

If you read the story on this guys website, and follow the instructions carefully, you'll find that it's a piece of cake.

From now on, downloading and updating the epg only takes a few seconds.

Fortunately for Dutch, but unfortunately for others, the whole site and readme's are in Dutch.

With some modifications to the files,this script can also work for other countries.

If people are interested, I will contact the guy and ask him if it's ok for me to write translations,
I can write in English, German, Dutch and Portuguese, the rest will be up to other people.


Hope this was helpful.

Greetz,

SquonkSC
SquonkSC is offline   Reply With Quote
Old 2006-07-25, 01:47   #2 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Sydney, Australia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I couldn't agree more. For countries without publically available xml epg data available, we need to merge our efforts so that everyone is not running scrapers all the time (& therefore making the owners of the websites do things like use encrypted links - part of the reason they do this is probably to try & prevent the mass DDOS attacks coming from HTPC/PVR owners trying to get EPG data).

Not sure which country the data you've listed there is for, but for Australian EPG data I recommend the script here: http://www.team-mediaportal.com/file.../GetAussieEPG/ which uses JRobbo's data (more info here: http://wiki.dvbowners.com/index.php/...27s_EPG_Guides). Nothing beats downloading 7 days worth of data in 10 seconds.

At the moment the data doesn't have full length descriptions or genre information, but that's because no scrapers currently do this. As soon as one of them starts working again, JRobbo's data will be complete again (i.e. you don't need to be messing around with the scrapers by hand yourself when things change).
Alconja is offline   Reply With Quote
Old 2006-07-25, 05:27   #3 (permalink)
Retired Team Member
 
Callifo's Avatar
 
Join Date: Dec 2004
Location: Adelaide, Australia
Age: 22
Posts: 1,444
Thanks: 0
Thanked 11 Times in 1 Post

Country:

My System

Send a message via MSN to Callifo
Default

Alconja, I used that site as a fill in a couple of times, but its not a week, its only 3 days (including the day your on). Or it is for my region anyway. Hence I went back to scraping Ninemsn, just need to wait for DUGG to come back.
Callifo is offline   Reply With Quote
Old 2006-07-25, 06:08   #4 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Sydney, Australia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts


Default

It certainly used to have a week of data for me (sydney) previously, but I haven't checked since the current data issues (ninemsn) came up. As for waiting for DUGG to come back, I remember reading over on the DVBOwners forums that JRobbo's data comes from 4 seperate scrapers, but none of them are getting all the data properly at the moment and its a pretty safe bet that one of the scrapers is DUGG. Then point i'm getting at is that when DUGG (or one of the other scrapers) comes back, JRobbo's data will come back.

For the long term I think its a much better process to have a minimal number of scrapers running against sites like ninemsn's and putting the gathered xml epg somewhere central. Then everyone who wants the data can get it ready-made from a central source (whether its JRobbo's one or another... perhaps the MP team could set up a single scraper somewhere & host the zipped xml files on the MP servers).

This has two benefits: 1) It means we get the same data much quicker, since you just have to download one smallish zip file, rather than hundreds of web pages. and 2) It means that there won't be heaps of people all pounding sites like ninemsn requestng every single page over & over (which would go off like a red light in their logs & cause them to try & block us out again using ever more complicated tactics).

Sorry for the rant... Just my humble opinion.
Alconja is offline   Reply With Quote
Old 2006-07-25, 06:28   #5 (permalink)
Retired Team Member
 
Callifo's Avatar
 
Join Date: Dec 2004
Location: Adelaide, Australia
Age: 22
Posts: 1,444
Thanks: 0
Thanked 11 Times in 1 Post

Country:

My System

Send a message via MSN to Callifo
Default

While that tactic might slow MPs contribution to scraping Ninemsn, it wont really stop the largest part of the traffic. Between WS and MCE2005, those users are gonna be the real large problem in terms of bandwidth. Gotta convince them too.

At the moment Im using the WS Ninemsn scrapper, and that seems to have have been far less effected by Ninemsn than DUGG unfortunately. That does a little bit of caching, but it doesnt retreive the extra program info (doesnt download associated pages which on it self is a lot of bandwidth saved).
Callifo is offline   Reply With Quote
Old 2006-07-25, 06:49   #6 (permalink)
Portal Member
 
zombiepig's Avatar
 
Join Date: Mar 2005
Location: Melb, Aus
Age: 27
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

when dugg was working, it was sending the results to an ftp site anyway. so if you where the first to grab the data from msn, your results got sent to the dugg ftp. then everyone else just got it from the ftp!!
__________________
my ongoing htpc project!

my music taste last week was:
zombiepig is offline   Reply With Quote
Old 2006-07-25, 06:56   #7 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Sydney, Australia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by EqualRightsForWerewolves
when dugg was working, it was sending the results to an ftp site anyway. so if you where the first to grab the data from msn, your results got sent to the dugg ftp. then everyone else just got it from the ftp!!
Ahh, apologies then, didn't realise DUGG was already doing this. Hopefully DUGG comes back soon then & I'll give it a go.
Alconja is offline   Reply With Quote
Old 2006-07-25, 06:56   #8 (permalink)
Retired Team Member
 
Callifo's Avatar
 
Join Date: Dec 2004
Location: Adelaide, Australia
Age: 22
Posts: 1,444
Thanks: 0
Thanked 11 Times in 1 Post

Country:

My System

Send a message via MSN to Callifo
Default

I realise that, but it wasnt always accurate, when shows changed, you werent able to fix that without the 'noftp' option which then changed it back to a normal scrapper.

If in the long run, if people want to reduce load on ninemsn, you will have to convince other users (WS and MCE2005 more specifically) to move to a more unified solution, despite the fact they might be perfectly happy with their current solution.
Callifo is offline   Reply With Quote
Old 2006-07-25, 06:59   #9 (permalink)
Portal Member
 
Lyxalig's Avatar
 
Join Date: Jan 2005
Location: Norway
Age: 24
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via MSN to Lyxalig
Default

What about the legal issues??
I'm pretty sure this is the reason this is not getting sone on a larger scale.. :?
__________________
If the MP community isn't able to do it... Who are?
Lyxalig is offline   Reply With Quote
Old 2006-07-25, 07:00   #10 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Sydney, Australia
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by Callifo
I realise that, but it wasnt always accurate, when shows changed, you werent able to fix that without the 'noftp' option which then changed it back to a normal scrapper.

If in the long run, if people want to reduce load on ninemsn, you will have to convince other users (WS and MCE2005 more specifically) to move to a more unified solution, despite the fact they might be perfectly happy with their current solution.
I agree about the need for broad base support... not sure how best to achieve that (if its possible at all - as you say if people are on a good thing they won't switch). I guess if something like DUGG emerges as the obvious best, then hopefully people will migrate naturally. As for getting stale data, I guess DUGG needs to go back to the original source (ninemsn or whereever) once every X hours (24? 12? 6?) to make sure its still got the latest... is DUGG open source / still actively being developed?
Alconja is offline   Reply With Quote
Reply

Bookmarks

Tags
complete, data, epg, seconds, updated

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
(original thread) MP-TVSeries Inker My TVSeries 666 2007-02-21 22:15
(original thread) US/Canadian/Mexico EPG Zap2it Plugin Released bradsjm zap2it (discontinued) 513 2007-02-21 15:07
TV Data - No Data Available Technifide Installation, configuration support 6 2006-09-27 22:34
PVR Scheduler: cant make it work ethanx Codecs, External Players 1 2006-03-20 00:42
Twinhan DTV Sat MyTV unuseable infinityloop 0.2.0.0 Release Candidate 1 12 2005-09-18 11:49


All times are GMT +1. The time now is 03:42.


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
Advertisement System V2.6 By   Branden