LinHES Forums
http://forums.linhes.org/

Oztivo EPG - New API March 31 2008
http://forums.linhes.org/viewtopic.php?f=15&t=17832
Page 1 of 12

Author:  nmcaullay [ Mon Feb 04, 2008 6:54 pm ]
Post subject:  Oztivo EPG - New API March 31 2008

Hi all,

I noticed last night in the description for a program in the EPG the following

Quote:
The xmlguide.pl service will be discontinued on March 31, 2008. Please ask the author of your XML data grabber to update it to use the new API. Details can be found at http://minnie.tuhs.org/xmltv/api.html


Data seems o be still going in, and showing up after a mythfilldatabase, but after March 08, there seems to be a new API that replaces the perl script.

Has anyone heard about this, and what sort of changes are required (e.g. tv_grab_au)?

I predict that manicmike will be the first to reply to this thread... :)

Cheers,

Nathan

Author:  mythingpersons [ Mon Feb 04, 2008 8:10 pm ]
Post subject: 

Looking at the details and history of the page I can see two changes:
Quote:
If a channel-entry specifies more than one base-url for the channel, the grabber shall use the first base-url.

has become
Quote:
If a channel-entry specifies more than one base-url for the channel, the grabber should choose one of the base-urls at random to perform a web fetch for that channel; this will help spread the load out across any caching mirrors that we set up.

and,
Quote:
Parallel requests

An application may run up to two http-requests against a Guide server simultaneously, but not more than that.

becomes
Quote:
Serial requests

An application must not make parallel requests against a Guide server; all requests to the same Guide server must be serialised, and there should be a gap of at least 2 seconds between each request.


I think "the author of your XML data grabber" may have to make changes re point one. I have the tv_grab_au from 2007-01-21 by Will Uther but the change doesn't sound like it would break the operation as it is now

Author:  nmcaullay [ Mon Feb 04, 2008 8:21 pm ]
Post subject: 

Hi MP,

I'm not sure what tv_grab_au is have on my box, i fiddled with it ages ago.. and im not sure where i got it from, or what state it is in...

Will check it out tonight though.

BTW, you beat mike on reply speed... he must be resting after a big KM release push?

Cheers,

Nathan

Author:  Bj [ Thu Feb 28, 2008 5:37 am ]
Post subject: 

I too have noticed this tonight. Is there a new version of tv_grab_au coming? The site I got it from originally is here http://www.onlinetractorparts.com.au/rohbags/xmltvau/

but it doesn't mention any updates.

Cheers

Bj

My Knoppmyth howto: www.bjblaster.com (under linux)

Author:  manicmike [ Fri Feb 29, 2008 6:37 am ]
Post subject:  Re: Oztivo EPG - New API March 31 2008

nmcaullay wrote:
I predict that manicmike will be the first to reply to this thread... :)


Hah! I was working in Melbourne.

There is indeed a new grabber. http://web.aanet.com.au/auric/?q=node/14

Try it out. It uses the new API, and apparently works just fine. I'm about to test it myself.

Cheers

Mike

Author:  cecil [ Sat Mar 01, 2008 6:30 pm ]
Post subject: 

Please let me know so I can have a solution for the next release.

Author:  Kirk [ Sat Mar 01, 2008 8:28 pm ]
Post subject: 

May I suggest Shepherd. It's quality is far superior to other grabber scripts I've used, and it is also self updating so problems like those stated above won't need to be fixed manually by users :)

Author:  manicmike [ Sun Mar 02, 2008 4:45 am ]
Post subject: 

Kirk wrote:
May I suggest Shepherd.


You may :-) It requires a couple of extra perl modules, but that's no big deal, since they're < 150KB all up. Also, seems to take a huge amount of time and bandwidth, but works very well, from my limited experience.

Ideal solution would be for someone to simply fix up tv_grab_au_reg to work with the new API, since it is known to be very quick and efficient.
The author doesn't have time ATM, so I guess we'll be using Shepherd at least in the short term. I'll have a look and see if I can automate the installation.

Mike

Author:  nigelpearson [ Wed Mar 05, 2008 4:19 am ]
Post subject: 

There is also a new grabber I wrote. Available on the wiki (http://www.knoppmythwiki.org/index.php? ... 7651a8.bin)

It currently needs manual config using an editor, but at least it supports all the efficiencies of the new OzTivo XML file formats.

Author:  manicmike [ Wed Mar 05, 2008 4:21 pm ]
Post subject: 

Thanks Nigel,

If it's small and fast, then it's a contender :-) Ideally, I'd like to keep using Will Uther's Python script (tv_grab_au_reg), but I'll have to modify it. If I can't get his modified quickly enough I'll check yours out and see if I can incorporate it into the next release. Problem is that we also need to support IceTV as well.

Cheers

Mike

Author:  nigelpearson [ Wed Mar 05, 2008 6:48 pm ]
Post subject: 

There is the IceTV grabber:

http://www.icetv.com.au/support/howto/f ... rab_au_ice

If there are no legal problems there, you could bundle both scripts?
(instead of au_reg that tries to do both)

Author:  nigelpearson [ Mon Mar 10, 2008 4:09 am ]
Post subject: 

There is now version 0.4 of my grabber.

http://www.knoppmythwiki.org/index.php? ... fcfd9b.bin

It now can tell mythfilldatabase to grab all the days at once, and has a comment in there about how to get mythtv-setup to locate it.

Author:  manicmike [ Wed Mar 12, 2008 12:26 am ]
Post subject: 

Damn! Shepherd also uses the old API.

We will have to find another solution ladies and gents.

Nigel's scripts are looking promising.

Fear not. There will be a solution found in time.

Mike

Author:  Kirk [ Wed Mar 12, 2008 2:05 pm ]
Post subject: 

I still believe Shepherd is the grabber of choice. Perhaps Nigel, you can submit your grabber to Shepherd team for inclusion?

Author:  manicmike [ Wed Mar 12, 2008 4:12 pm ]
Post subject: 

Kirk wrote:
I still believe Shepherd is the grabber of choice. Perhaps Nigel, you can submit your grabber to Shepherd team for inclusion?


It's not the grabber of everyone's choice.
I'd rather use Nigel's without Shepherd on Knoppmyth. Shepherd takes 15 minutes to run during setup on my 1500Kb Internet connection. This is unacceptably slow, and it doesn't seem possible to configure it to just use a single grabber (and yes, I know this would be defeating the purpose of having Shepherd).

Too slow, not configurable makes Shepherd a no-go for me.

Developing Nigel's script to be more general sounds like a much better plan.

Mike

Page 1 of 12 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/