From f5d00d42415d267afeb56f4de87e688b94b4a21d Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Wed, 6 Jul 2022 17:12:21 +1200 Subject: [PATCH] Import version 0.7.2 from http://www.jsw.gen.nz/mythtv/mhegepgsnoop-0.7.3.py --- bin/mhegepgsnoop.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/mhegepgsnoop.py b/bin/mhegepgsnoop.py index 3c9d25e..53ebd5f 100644 --- a/bin/mhegepgsnoop.py +++ b/bin/mhegepgsnoop.py @@ -1,6 +1,6 @@ #!/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 @@ -54,7 +54,7 @@ Example usage to collect EPG data using dvbsnoop from adapter 1 and write to tvg 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: @@ -118,6 +118,8 @@ JSW = Stephen Worthington 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 @@ -818,7 +820,7 @@ def argparse_parse(defs): 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, -- 2.30.2