Beta testers wanted for new tv_augment program

<[email protected]>
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <[email protected]>
Hi All,

Testers wanted for a new augmentation program. It allows anyone to take the output from any grabber and massage it according to a number of fixup rules. This can be used to correct errors or ensure consistency in the source listings, or enhance listings by finding series/episode numbers buried in the programme description.


Description:
-----------
Augment an XMLTV xml file by applying corrections ("fixups") to programmes matching defined criteria ("rules").

Two types of rules are actioned: (i) automatic, (ii) user-defined.

Automatic rules use pre-programmed input and output to modify the input programmes. E.g. removing a "title" where it is repeated in a "sub-title" (e.g. "Horizon" / "Horizon: Star Wars"), or trying to identify and extract series/episode numbers from the programme title, sub-title or description.

User-defined rules use the content of a "rules" file which allows programmes matching certain user-defined criteria to be corrected/enhanced with the user data supplied (e.g. adding/changing categories for all episodes of "Horizon", or fixing misspellings in titles, etc.)


Basic usage:
-----------
tv_augment  --input <file>  --output <file>  --rule <file>  --config <file>

or

tv_grab_xxxx --config-file xxxx --days 7  --quiet  |  tv_augment  --rule myrules  --output my.xml  


I'd be grateful for any help with beta testing prior to releasing this into the wild. I've documented all the files so you should be able to work out what to do, and if you are familiar with the tv_grab_uk_rt grabber then it should be simple (since it uses the same data format; it was designed to be compatible with it).

You can download the beta code from here:
  http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/beta/

  tv_augment  - script to take input xml and run the fixups
  Augment.pm  - package called by tv_augment
  augment.conf  - example configuration file
  augment.rules  - example rules file

see "perldoc -F tv_augment" and "perldoc -F Augment.pm" and the example files for documentation.

Bug fixes, improvements, etc, welcomed.

TIA,
Geoff

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.