[mythtv-users] UK Commercial Detection (Clusters)

Phill Edwards philledwards at gmail.com
Wed May 1 11:32:18 UTC 2013


> It only actually detected 2 out of 4 ad breaks but that's probably
> something I can work on with the tuning parameters.

I'm now having problems specifying the tuning parameters on the
command line. If I specify --preset as per the wiki I get an error:

$ silence.py --chanid 2315 --starttime 20130409222800 --loglevel debug
--preset "-80,,3,,180"
usage: silence.py [-h] [--preset PRESET] [--presetfile PRESETFILE]
                  [--chanid CHANID] [--starttime STARTTIME] [--quiet]
                  [--nodblog] [--loglevel LOGLEVEL] [--verbose VERBOSE]
                  [--logfile LOGFILE] [--logpath LOGPATH] [--syslog SYSLOG]
                  [jobid]
silence.py: error: argument --preset: expected one argument


The only way I can get it to run is if I have only one value in the
preset string, eg:

$ silence.py --chanid 2315 --starttime 20130409222800 --loglevel debug
--preset "-80"

Am I doing someing wrong?


More information about the mythtv-users mailing list