2005-12-23, 12:36 PM
Some broadcasts have as a title the series name followed by a ':' and then an episode name. Often the Subtitle is empty.
It would be possible to write a simple postepgupdate program that scans the programme list for programs with a title that matches '%:%' and then move the episode part to the subtitle.
By doing so it should be possible to use a recurring recording setting to record these series. One can do the same with some of the plugins but remember I only use webadmin to manage my recordings.
Before I actually start to write the code I have two questions:
1) I can imagine you can do the same with a small xsl script rewriting the xmltv.xml executed by saxon. Anyone out there that could help me how to write the rewrite rule that rewrites
<title>Cinema3:Tomb Raiders</title>
<sub-title>The first episode</sub-title>
into
<title>Cinema3</title>
<sub-title>Tomb Raiders:The first episode</sub-title>
2) When are the recording rules checked? At regular intervals? Triggered by an update? How to ensure the new name will be found by the recurring recording rule?
It would be possible to write a simple postepgupdate program that scans the programme list for programs with a title that matches '%:%' and then move the episode part to the subtitle.
By doing so it should be possible to use a recurring recording setting to record these series. One can do the same with some of the plugins but remember I only use webadmin to manage my recordings.
Before I actually start to write the code I have two questions:
1) I can imagine you can do the same with a small xsl script rewriting the xmltv.xml executed by saxon. Anyone out there that could help me how to write the rewrite rule that rewrites
<title>Cinema3:Tomb Raiders</title>
<sub-title>The first episode</sub-title>
into
<title>Cinema3</title>
<sub-title>Tomb Raiders:The first episode</sub-title>
2) When are the recording rules checked? At regular intervals? Triggered by an update? How to ensure the new name will be found by the recurring recording rule?
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
Support Comskip, visit the forum and donate at http://www.comskip.org/