Go to the documentation of this file.
18 add(
"--manual",
"manual",
false,
"Run interactive configuration",
19 "Manual mode will interactively ask you questions about "
20 "each channel as it is processed, to configure for "
23 add(
"--preset",
"preset",
false,
24 "Use channel preset values instead of numbers",
25 "For use with assigning preset numbers for each "
26 "channel. Useful for non-US countries where people "
27 "are used to assigning a sequenced number for each "
28 "channel:\n1->TVE1(S41), 2->La 2(SE18), 3->TV(21)...");
29 add(
"--file",
"file",
false,
30 "Bypass grabbers and define sourceid and file",
31 "Directly define the sourceid and XMLTV file to "
35 add(
"--sourceid",
"sourceid", 0,
"Operate on single source",
36 "Limit mythfilldatabase to only operate on the "
37 "specified channel source.");
39 add(
"--offset",
"offset", 0,
"Day offset of input xml file",
40 "Specify how many days offset from today is the "
41 "information in the given XML file.");
43 add(
"--xmlfile",
"xmlfile",
"",
"XML file to import manually",
44 "Specify an XML guide data file to import directly "
45 "rather than pull data through the specified grabber.")
49 add(
"--update",
"update",
false,
"",
"")
51 ->
SetRemoved(
"Use --only-update-guide instead.",
"34")
53 add(
"--only-update-guide",
"onlyguide",
false,
"Only update guide data",
54 "Only update the guide data, do not alter channels or icons.")
59 add(
"--do-channel-updates",
"dochannelupdates",
false,
61 "Ask mythfilldatabase to "
62 "overwrite channel names, frequencies, etc. with "
63 "values available from the data source. This will "
64 "override custom channel names, which is why it "
65 "is disabled by default.")
67 add(
"--do-not-filter-new-channels",
"nofilterchannels",
false,
68 "don't filter ATSC channels for addition",
69 "Normally, MythTV tries to avoid adding ATSC "
70 "channels to NTSC channel lineups. This option "
71 "restores the behavior of adding every channel in "
72 "the downloaded channel lineup to MythTV's lineup, "
73 "in case MythTV's smarts fail you.")
76 add(
"--cardtype",
"cardtype",
"",
"",
"No information.");
78 add(
"--refresh",
"refresh", QMetaType::QStringList,
79 "Provide a day or range of days to refresh. Can be "
81 "Provide days to refresh during the grabber run. Multiple \n"
82 "days or ranges can be supplied by multiple instances of the \n"
83 "option. Supported days are:\n"
89 "Note that if all is specified any others will be ingored.\n\n"
91 " --refresh today --refresh 4-8 --refresh nottomorrow")
94 add(
"--max-days",
"maxdays", 0,
"force number of days to update",
95 "Force the maximum number of days, counting today, "
96 "for the guide data grabber to check for future "
99 add(
"--refresh-today",
"refreshtoday",
false,
"",
"")
103 add(
"--dont-refresh-tomorrow",
"dontrefreshtomorrow",
false,
"",
"")
106 add(
"--refresh-second",
"refreshsecond",
false,
"",
"")
109 add(
"--refresh-day",
"refreshday", QMetaType::QStringList,
"",
"")
112 add(
"--dont-refresh-tba",
"dontrefreshtba",
false,
113 "don't refresh \"To be announced\" programs",
114 "This option is only valid for selected grabbers.\n"
115 "Prevent mythfilldatabase from automatically refreshing any "
116 "programs marked as \"To be announced\".")
119 add(
"--refresh-all",
"refreshall",
false,
"",
"")
127 add(
"--no-allatonce",
"noallatonce",
false,
128 "Do not use allatonce even if the grabber prefers it.",
129 "This option prevents mythfilldatabase from utlizing "
130 "the advertised grabber preference of 'allatonce'. "
131 "This may be necessary for grabbers that return a large "
135 add(
"--only-update-channels",
"onlychannels",
false,
136 "only update channel lineup",
137 "Download as little listings data as possible to update the "
139 ->
SetGroup(
"Channel List Handling");
140 add(
"--no-mark-repeats",
"markrepeats",
true,
"do not mark repeats",
"");
142 add(
"--dd-grab-all",
"ddgraball",
false,
"",
"")
143 ->
SetRemoved(
"It's no longer valid with Schedules Direct XMLTV.\n"
144 " Remove in mythtv-setup General -> Program Schedule\n"
145 " -> Downloading Options -> Guide Data Arguements",
"35.0");
146 add(
"--no-resched",
"noresched",
false,
147 "Do not invoke the rescheduler in the backend.",
148 "This option prevents mythfilldatabase from asking the backend "
149 "to invoke the rescheduler after importing new metadata.\n"
150 "This is useful if you need to invoke mythfilldatabase multiple "
151 "times in a row, or if some postprocessing is required before "
152 "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.
static constexpr const char * MYTH_APPNAME_MYTHFILLDATABASE
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.
void addHelp(void)
Canned argument definition for –help.
CommandLineArg * SetGroup(const QString &group)