[mythtv-users] UK Commercial Detection (Clusters)
Roger Siddons
dizygotheca at ntlworld.com
Wed May 1 12:30:45 UTC 2013
On Wed, 01 May 2013 12:32:18 +0100, Phill Edwards <philledwards at gmail.com>
wrote:
>
> 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?
Nope. That's another case of my sloppiness. Looks like the shell is
intercepting the commas
Use either --preset="-80,,3,,180" or "--preset -80,,3,,180"
I habitually use '=' myself, but thought the wiki looked more readable
without them. It doesn't matter with most params...
More information about the mythtv-users
mailing list