This program allows you to combine EPG data from multiple sources, with error checking and correction. The correction algorithm uses the user-supplied ranking of each EPG data source. Errors, if found, will be added to the description.
You can additionally supply an XML stylesheet (XSL) to format the output to the desired style. A simple XML stylesheet is included in the package.
Note that if you changed the configuration file (default is config.xml2), you should delete the database file (default is xmltv.sav) as well to avoid complication.
See the sample config.xm2 and Execute.cmd in the package. If you live in Sydney you can run Execute.cmd (double-click) without any modification. It uses DVBGuide to get EPG from the transport stream, and WGet to get EPG from the web. EPGScan can also be used instead of DVBGuide.
Download XMLTVedt version 1.00 here
|
|
Usage: XMLTVedt add|extract|delete [options]
Examples: XMLTVedt add -input EPGsource1.xm2
XMLTVedt extract -ignoresecond -correcttitles -correctoverlaps
XMLTVedt delete
Argument:
add Add new XML data to database
extract Extract XML data from database
delete Delete data from database
General Options:
-savefile [filename]
The database name. This is where all data will be saved.
Default filename is xmltv.sav
-config [filename]
The configuration file. This is an XML file containing details of all
the EPG channel name and their ranks.
Default filename is config.xm2
Add Options:
-input [filename]
The name of the XML file to be read and added to the database.
Default filename is xmltv.xm2
Extract Options:
-from [time]
Extract all EPG data whose start time is >= [time].
Time is in the form yyyymmddhhiiss+ZONE
E.g. 18 February 2007 17:35:00 +1100 is 20070218173500+1100
Default is 9 days backward from current time
-to [time]
Extract all EPG data whose start time is <= [time].
Default is 9 days forward from current time
-backward [span]
Same as -from but specify backward span from current time
[span] is in the form dhhmmss
E.g. 17 days 15 hours 23 minutes 58 second is 17152358
If the number of digit in [span] is less than 6, XMLTVedt will assume
[span] only specify number of days.
E.g. use -backward 17 to specify span of 17 days
Default is 9 days backward from current time
-forward [span]
Same as -to but specify forward span from current time
Default is 9 days forward from current time
-ignoresecond
Times will be rounded down to the nearest minute
-correcttitles
If you have multiple XML sources, the highest rank will take precedence
but a comparison algorithm will be run and correction to the titles
will be made accordingly
-correctoverlaps
If you have multiple XML sources, the highest rank will take precedence
but conflicting times will be checked and added to the description.
If the highest ranked XML source has conflicting times it will not be
corrected.
Similarly if more than one XML sources has the highest rank they will
not be corrected
-stylesheet [filename]
The output XML can be formatted according to the XSL stylesheet.
This is only to make the output XML more human readable.
Default is no formatting
-output [filename]
The name of the XML file to be created
Default filename is xmltv.xml
Delete Options:
-deletefrom [time]
Only keep in database all EPG data whose start time is >= [time].
Time is in the form yyyymmddhhiiss+ZONE
E.g. 18 February 2007 17:35:00 +1100 is 20070218173500+1100
Default is 90 days backward from current time
-deleteto [time]
Only keep in database all EPG data whose start time is <= [time].
Default is 90 days forward from current time
-deletebackward [span]
Same as -deletefrom but specify backward span from current time
Default is 90 days backward from current time
-deleteforward [span]
Same as -deleteto but specify forward span from current time
Default is 90 days forward from current time
|
|