[mythtv] [PATCH] DVB guide fixup for comhem

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Wed Feb 2 22:15:31 UTC 2005


I've created a EIT guide fixup function for swedish cable provider comhem.

Country, category and sometimes year is present in both subtitle and
description.
And if the event don't have any category it uses the one from the subtitle,
this will make some categories in swedish and some in english, but i don't
think that is a problem.

There is room for improvement, like parsing actors/directors, past/futre
showings and maybe extract episode numbers.

To make this patch work you need to insert a row in dtv_private types for
comhem, something like this:

INSERT INTO dtv_privatetypes (sitype, networkid, private_type,
private_value) VALUES("dvb", "40999", "guide_fixup", "4");


While i was coding this i discoverd that the year in the Event class is
never inserted in to the database, is there a reason for this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comhem-fixup.diff.bz2
Type: application/octet-stream
Size: 1414 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050202/1a6c8fe0/comhem-fixup.diff.obj


More information about the mythtv-dev mailing list