#!/usr/bin/env python3
-VERSION = '0.7.2'
+VERSION = '0.7.3'
'''
mhegepgsnoop.py - Freeview DVB-T MHEG-5 to XMLTV EPG converter
Version 0.7.0 JSW modified version converted to Python 3
mhegepgsnoop.py -o tvguide.xml -e "-adapter 1" -vs
Example usage to collect EPG data from default adapter and write to tvguide.xml and specify MySQL user & password:
- mhegepgsnoop.py -o tvguide.xml -m "-u myuser -pmypassword"
+ mhegepgsnoop.py -o tvguide.xml -m"-u myuser -pmypassword"
Example usage to collect EPG data from specified demux device, write to tvguide.xml, connect to mythconverg using
Python bindings, verbose output:
Prevented hang on tuner open error - it will now timeout and die.
0.7.1 JSW Fixed a problem with -b option where the database was being accessed when only the map file was being used.
0.7.2 JSW Add --hdhr option, Mike Brady's changes to allow using dvbsnoop option with a capture file created using HDHomerun tuners.
+0.7.3 JSW Documentation change only - no change to code. Fix documentation of the -m option. It does not work if there is a space
+ between the -m and the double quote following it.
TO DO
parser.add_argument('-e', dest='extra_args', action='store', default=defs.extra_args,
help='Extra dvbsnoop arguments, e.g., "-adapter 1"')
parser.add_argument('-m', dest='mysql_args', action='store', default=defs.mysql_args,
- help='MySQL arguments, e.g., "-u myuser -pmypassword"' + ' (default "' + defs.mysql_args + '")')
+ help='MySQL arguments, e.g., "-u myuser -pmypassword"' + ' (default "' + defs.mysql_args + '"). Do not leave a space between the -m option and the double quote that starts the string that follows it.')
parser.add_argument('-o', dest='output_file', action='store', default=defs.output_file,
help='Output filename (default '+defs.output_file+')')
parser.add_argument('-v', dest='verbosity', action='store_true', default=defs.verbosity,