Go to the documentation of this file.
22 <<
add(QStringList{
"-f",
"--file"},
24 "Specify file to operate on.",
"")
26 <<
add(
"--video",
"video",
"",
27 "Rebuild the seek table for a video (non-recording) file.",
"")
28 ->SetGroup(
"Input") );
31 <<
add(
"--gencutlist",
"gencutlist",
false,
32 "Copy the commercial skip list to the cutlist.",
"")
33 ->SetRemoved(
"mythcommflag is no longer used to manipulate\n"
34 " cut lists. Please use mythutil.",
"34")
35 <<
add(
"--clearcutlist",
"clearcutlist",
false,
36 "Clear the cutlist.",
"")
37 ->SetRemoved(
"mythcommflag is no longer used to manipulate\n"
38 " cut lists. Please use mythutil.",
"34")
39 <<
add(
"--clearskiplist",
"clearskiplist",
false,
40 "Clear the commercial skip list.",
"")
41 ->SetRemoved(
"mythcommflag is no longer used to manipulate\n"
42 " skip lists. Please use mythutil.",
"34")
43 <<
add(
"--getcutlist",
"getcutlist",
false,
44 "Display the current cutlist.",
"")
45 ->SetRemoved(
"mythcommflag is no longer used to manipulate\n"
46 " cut lists. Please use mythutil.",
"34")
47 <<
add(
"--getskiplist",
"getskiplist",
false,
48 "Display the current commercial skip list.",
"")
49 ->SetRemoved(
"mythcommflag is no longer used to manipulate\n"
50 " skip lists. Please use mythutil.",
"34")
51 <<
add(
"--setcutlist",
"setcutlist",
"",
52 "Set a new cutlist in the form:\n"
53 "#-#[,#-#]... (ie, 1-100,1520-3012,4091-5094)",
"")
54 ->SetRemoved(
"mythcommflag is no longer used to manipulate\n"
55 " cut lists. Please use mythutil.",
"34")
56 <<
add(
"--skipdb",
"skipdb",
false,
"",
57 "Intended for external 3rd party use.")
58 ->SetGroup(
"Advanced")
60 <<
add(
"--rebuild",
"rebuild",
false,
61 "Do not flag commercials, just rebuild the seektable.",
"")
62 ->SetGroup(
"Commflagging")
63 ->SetBlocks(
"commmethod") );
65 add(
"--method",
"commmethod",
"",
66 "Commercial flagging method[s] to employ:\n"
67 "off, blank, scene, blankscene, logo, all, "
68 "d2, d2_logo, d2_blank, d2_scene, d2_all",
"")
70 add(
"--outputmethod",
"outputmethod",
"",
71 "Format of output written to outputfile, essentials, full.",
"")
73 add(
"--queue",
"queue",
false,
74 "Insert flagging job into the JobQueue, rather than "
75 "running flagging in the foreground.",
"");
76 add(
"--noprogress",
"noprogress",
false,
77 "Don't print progress on stdout.",
"")
79 add(
"--force",
"force",
false,
80 "Force operation, even if program appears to be in use.",
"")
82 add(
"--dontwritetodb",
"dontwritedb",
false,
"",
83 "Intended for external 3rd party use.")
85 add(
"--onlydumpdb",
"dumpdb",
false,
"",
"?")
87 add(
"--outputfile",
"outputfile",
"",
88 "File to write commercial flagging output [debug].",
"")
90 add(
"--dry-run",
"dryrun",
false,
91 "Don't actually queue operation, just list what would be done",
"");
MythCommFlagCommandLineParser()
static void AllowOneOf(const QList< CommandLineArg * > &args)
Mark a list of arguments as mutually exclusive.
Parent class for defining application command line parsers.
void addVersion(void)
Canned argument definition for –version.
void addRecording(void)
Canned argument definition for –chanid and –starttime.
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
CommandLineArg * add(const QString &arg, const QString &name, bool def, QString help, QString longhelp)
static constexpr const char * MYTH_APPNAME_MYTHCOMMFLAG
void addHelp(void)
Canned argument definition for –help.
Definition for a single command line option.
CommandLineArg * SetGroup(const QString &group)
void addJob(void)
Canned argument definition for –jobid.
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
void LoadArguments(void) override