[mythtv] [PATCH] Improving TDT EPG in Spain
stuarta at squashedfrog.net
Tue Jul 25 20:20:50 UTC 2006
On Tue, Jul 25, 2006 at 09:44:19PM +0200, Unai Uribarri wrote:
> Hello list,
> My name is Unai Uribarri and I'm from Spain. I've been hacking with
> mythtv this weekend and, first of all, I want to congratulate the
> developers of this project for the quality of the mythtv code.
Hola! Como estas? Y Mucho Gracias.
> My first target has been the Electronic Programming Guide of the Digital
> Terrestrial Television (DVB), which here in Spain is a bit weird.
> Several channels publish the name of the event empty or with a dot [.],
> and puts the event name in the subtitle field. Also, there are channels
> that like to fill the extended event descriptors with all sort of empty
> items: DIRECTOR, ACTORS, YEAR, COUNTRY, ORIGINAL TITLE, ...
This is quite unusual compared to other EIT data.
> So I have patched libmythtv to:
> a. If the event name is empty or just a dot, replace it with the
> b. Instead of ignoring extended events with items, skip the items and
> extract the event description which is after them.
> The patch is against SVN 0.19-fixes. Is there any chance to get this
> patch accepted in that branch?
You have modified siparser. Sadly it is no more.
You will need to rewrite this patch for svn head.
There are a few things that come to mind.
1) Normally the EIT data provides us with title, subtitle & description
in some form, that can be processed into a form suitable for myth.
2) For the EIT we use a Fixup routine which is normally keyed off the
networkid, which does the processing mentioned in #1.
3) You will need to implement some sort of fixup that uses the extended
event information to "improve" the data initially received.
Please ask if you have further questions....
More information about the mythtv-dev