Go to the documentation of this file.
17 add(
"--manual",
"manual",
false,
"Run interactive configuration",
18 "Manual mode will interactively ask you questions about "
19 "each channel as it is processed, to configure for "
22 add(
"--preset",
"preset",
false,
23 "Use channel preset values instead of numbers",
24 "For use with assigning preset numbers for each "
25 "channel. Useful for non-US countries where people "
26 "are used to assigning a sequenced number for each "
27 "channel:\n1->TVE1(S41), 2->La 2(SE18), 3->TV(21)...");
28 add(
"--file",
"file",
false,
29 "Bypass grabbers and define sourceid and file",
30 "Directly define the sourceid and XMLTV file to "
34 add(
"--sourceid",
"sourceid", 0,
"Operate on single source",
35 "Limit mythfilldatabase to only operate on the "
36 "specified channel source.");
38 add(
"--offset",
"offset", 0,
"Day offset of input xml file",
39 "Specify how many days offset from today is the "
40 "information in the given XML file.");
42 add(
"--xmlfile",
"xmlfile",
"",
"XML file to import manually",
43 "Specify an XML guide data file to import directly "
44 "rather than pull data through the specified grabber.")
48 add(
"--update",
"update",
false,
"",
"")
50 ->
SetRemoved(
"Use --only-update-guide instead.",
"34")
52 add(
"--only-update-guide",
"onlyguide",
false,
"Only update guide data",
53 "Only update the guide data, do not alter channels or icons.")
58 add(
"--do-channel-updates",
"dochannelupdates",
false,
60 "Ask mythfilldatabase to "
61 "overwrite channel names, frequencies, etc. with "
62 "values available from the data source. This will "
63 "override custom channel names, which is why it "
64 "is disabled by default.")
66 add(
"--do-not-filter-new-channels",
"nofilterchannels",
false,
67 "don't filter ATSC channels for addition",
68 "Normally, MythTV tries to avoid adding ATSC "
69 "channels to NTSC channel lineups. This option "
70 "restores the behavior of adding every channel in "
71 "the downloaded channel lineup to MythTV's lineup, "
72 "in case MythTV's smarts fail you.")
75 add(
"--cardtype",
"cardtype",
"",
"",
"No information.");
77 add(
"--refresh",
"refresh", QMetaType::QStringList,
78 "Provide a day or range of days to refresh. Can be "
80 "Provide days to refresh during the grabber run. Multiple \n"
81 "days or ranges can be supplied by multiple instances of the \n"
82 "option. Supported days are:\n"
88 "Note that if all is specified any others will be ingored.\n\n"
90 " --refresh today --refresh 4-8 --refresh nottomorrow")
93 add(
"--max-days",
"maxdays", 0,
"force number of days to update",
94 "Force the maximum number of days, counting today, "
95 "for the guide data grabber to check for future "
98 add(
"--refresh-today",
"refreshtoday",
false,
"",
"")
102 add(
"--dont-refresh-tomorrow",
"dontrefreshtomorrow",
false,
"",
"")
105 add(
"--refresh-second",
"refreshsecond",
false,
"",
"")
108 add(
"--refresh-day",
"refreshday", QMetaType::QStringList,
"",
"")
111 add(
"--dont-refresh-tba",
"dontrefreshtba",
false,
112 "don't refresh \"To be announced\" programs",
113 "This option is only valid for selected grabbers.\n"
114 "Prevent mythfilldatabase from automatically refreshing any "
115 "programs marked as \"To be announced\".")
118 add(
"--refresh-all",
"refreshall",
false,
"",
"")
126 add(
"--no-allatonce",
"noallatonce",
false,
127 "Do not use allatonce even if the grabber prefers it.",
128 "This option prevents mythfilldatabase from utlizing "
129 "the advertised grabber preference of 'allatonce'. "
130 "This may be necessary for grabbers that return a large "
134 add(
"--only-update-channels",
"onlychannels",
false,
135 "only update channel lineup",
136 "Download as little listings data as possible to update the "
138 ->
SetGroup(
"Channel List Handling");
139 add(
"--no-mark-repeats",
"markrepeats",
true,
"do not mark repeats",
"");
141 add(
"--dd-grab-all",
"ddgraball",
false,
"",
"")
142 ->
SetRemoved(
"It's no longer valid with Schedules Direct XMLTV.\n"
143 " Remove in mythtv-setup General -> Program Schedule\n"
144 " -> Downloading Options -> Guide Data Arguements",
"35.0");
145 add(
"--no-resched",
"noresched",
false,
146 "Do not invoke the rescheduler in the backend.",
147 "This option prevents mythfilldatabase from asking the backend "
148 "to invoke the rescheduler after importing new metadata.\n"
149 "This is useful if you need to invoke mythfilldatabase multiple "
150 "times in a row, or if some postprocessing is required before "
151 "the scheduler should see the updated metadata.");
void allowPassthrough(bool allow=true)
Specify that parser should allow a bare '–', and collect all subsequent text as a QString.
Parent class for defining application command line parsers.
void addVersion(void)
Canned argument definition for –version.
CommandLineArg * SetRequires(const QString &opt)
Set argument as requiring given option.
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
CommandLineArg * SetRemoved(QString remstr="", QString remver="")
Set option as removed.
CommandLineArg * add(const QString &arg, const QString &name, bool def, QString help, QString longhelp)
void LoadArguments(void) override
CommandLineArg * SetRequiredChildOf(const QString &opt)
Set argument as child required by given parent.
MythFillDatabaseCommandLineParser()
CommandLineArg * SetBlocks(const QString &opt)
Set argument as incompatible with given option.
static constexpr const char * MYTH_APPNAME_MYTHFILLDATABASE
void addHelp(void)
Canned argument definition for –help.
CommandLineArg * SetGroup(const QString &group)