Discussion:
[vdr] [PATCH] Strip parental rating from title in EPG
(too old to reply)
Matti Lehtimäki
2012-03-15 19:55:00 UTC
Permalink
Hi

Finnish channels add parental rating to the end of title in EPG
separated by parentheses, for example "Program title (12)", which in
both annoying and also makes alphabetical sorting not function properly
as different episodes may have different parental rating. The attached
patch will remove the parental rating from the title and place it into
correct EPG field.

If this is to be integrated into vdr-core it should be decided to which
bugfix level it belongs. I added it to bugfix level 1 as it basically is
misuse of EPG fields.

P.S. I have only tested this patch with 1.7.22 because my kernel is not
supported anymore in most recent developer versions but it should not
cause problems.
--
Matti
Klaus Schmidinger
2012-03-15 21:20:11 UTC
Permalink
Hi
Finnish channels add parental rating to the end of title in EPG separated by parentheses, for example "Program title (12)", which in both annoying and also makes alphabetical sorting not function properly as different episodes may have different parental rating. The attached patch will remove the
parental rating from the title and place it into correct EPG field.
If this is to be integrated into vdr-core it should be decided to which bugfix level it belongs. I added it to bugfix level 1 as it basically is misuse of EPG fields.
A title might end with some digits enclosed in parentheses for various
reasons, not just as a parental rating. I'm afraid I can't add this
to the core VDR EPG bugfixes.

But you could use the new cEpgHandler API to implement a plugin that
does this for you.

Klaus

Loading...