For the brave and the foolhardy (I make no judgement either way)...
NOTE: This is only of use to users of Alan Birtles XMLTV GUI program and will not work with the xmltv files of other grabbers.
BACKGROUND:
Radio Times have handed over the generation of their TV listings files to MetaBroadcast. One side-effect (possibly the only one so far) is that films are now categorised by genre (e.g., Comedy, Drama etc) rather than 'Film'.
This is a command-line utility which will process the XMLTV data file generated by Alan Birtles' XMLTV GUI utility to rewrite the <category> element to show as 'Film'. It will also rewrite the <title> category prefixing "Film:" if you have this setting enabled in your XMLTV GUI 'PrgDets' post-processer preferences.
USAGE:
Extract the RT_FilmFix .exe and .pdb files to a location of your choice. Extract the channels.dat file to the XMLTV GUI installation folder.
To run, use the following command-line...
...surround the paths with quotes if there are spaces. You MAY optionally include a trailing '\' to the paths.
NOTE: For both parameters, specify the folder path ONLY. Don't supply the name of the XML data file in the second path. This behaviour has changed since the initial releases of this utility.
Examples...
Default installation location of XMLTV GUI with default configuration
Use the same path for both arguments...
Default installation location of XMLTV GUI with alternate configuration
As above but provide the path to the alternate configuration folder as the second argument. NOTE - DO NOT supply the xmltv data filename - path to the folder ONLY.
IMPORTANT:
This relies on you having the 'Use cache' setting enabled for XMLTV GUI as it requires the cache files to identify which programmes are films.
DISCLAIMER:This is a temporary fix and I give no guarantees and don't intend spending much more time on it. Error checking has been improved in this version but it may simply just drop out if there are problems. Let me know and I'll try to patch it up.
Cheers,
Brian
PS It does backup the original XMLTV file before attempting to modify it so all is not lost if it goes wrong.
NOTE: This is only of use to users of Alan Birtles XMLTV GUI program and will not work with the xmltv files of other grabbers.
BACKGROUND:
Radio Times have handed over the generation of their TV listings files to MetaBroadcast. One side-effect (possibly the only one so far) is that films are now categorised by genre (e.g., Comedy, Drama etc) rather than 'Film'.
This is a command-line utility which will process the XMLTV data file generated by Alan Birtles' XMLTV GUI utility to rewrite the <category> element to show as 'Film'. It will also rewrite the <title> category prefixing "Film:" if you have this setting enabled in your XMLTV GUI 'PrgDets' post-processer preferences.
USAGE:
Extract the RT_FilmFix .exe and .pdb files to a location of your choice. Extract the channels.dat file to the XMLTV GUI installation folder.
To run, use the following command-line...
Code:
RT_FilmFix <path-to-xmltv-gui-installation-folder> <path-to-default-or-alternate-configuration-folder>
NOTE: For both parameters, specify the folder path ONLY. Don't supply the name of the XML data file in the second path. This behaviour has changed since the initial releases of this utility.
Examples...
Default installation location of XMLTV GUI with default configuration
Use the same path for both arguments...
Code:
RT_FilmFix "C:\Program Files\XMLTV GUI" "C:\Program Files\XMLTV GUI"
Default installation location of XMLTV GUI with alternate configuration
As above but provide the path to the alternate configuration folder as the second argument. NOTE - DO NOT supply the xmltv data filename - path to the folder ONLY.
Code:
RT_FilmFix "C:\Program Files\XMLTV GUI" "C:\Program Files\XMLTV GUI\Test"
IMPORTANT:
This relies on you having the 'Use cache' setting enabled for XMLTV GUI as it requires the cache files to identify which programmes are films.
DISCLAIMER:This is a temporary fix and I give no guarantees and don't intend spending much more time on it. Error checking has been improved in this version but it may simply just drop out if there are problems. Let me know and I'll try to patch it up.
Cheers,
Brian
PS It does backup the original XMLTV file before attempting to modify it so all is not lost if it goes wrong.
![Smile Smile](https://forums.nextpvr.com/images/smilies/smile.png)