Originally Posted by
petestrash
It is on our to-do list to make the join happen correctly more often.
Well if anybody wants a copy of the program I created to fix this then please contact me. Here's the usage:
Code:
pc:~/Data/src/xml2tgd ./fixoztivo.py -h
Usage: fixoztivo.py [options, see -h] [file|stdin(-)]
Program to fix split program entries in oztivo XMLTV data. Will take a single
XMLTV file as an argument, or on standard input, and produce a converted file
on standard output. The input file can contain multiple channels and/or
multiple days of data. Assumes that programs are time ordered for each channel
although the channels can be interspersed. Will find adjacent programs of the
same title + subtitle + description and will delete the 2nd (and any other
adjacent duplicates) while extending the first programs duration. Best if
input file contains multiple days so that programs split across midnight are
corrected.
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-v, --verbose output informational user messages
It's robust because it manipulates the xml as clean objects using python's elementtree. Python will run on all platforms.
Bookmarks