Go to the documentation of this file.
22 <<
add(
"--pidfile",
"pidfile",
"",
23 "Filename to save the application pid.",
"")
24 <<
add(
"--printsched",
"printsched",
false,
25 "Print upcoming list of scheduled recordings.",
"")
27 <<
add(
"--testsched",
"testsched",
false,
28 "do some scheduler testing.",
"")
30 <<
add(
"--resched",
"resched",
false,
"",
"")
31 ->SetRemoved(
"mythbackend is no longer used to trigger\n"
32 " rescheduling. Please use mythutil.",
"34")
33 <<
add(
"--scanvideos",
"scanvideos",
false,
"",
"")
34 ->SetRemoved(
"mythbackend is no longer used to trigger\n"
35 " scanning media content. Please use mythutil.",
"34")
36 <<
add(
"--event",
"event",
"",
"",
"")
37 ->SetRemoved(
"mythbackend is no longer used send an event.",
"34")
38 <<
add(
"--systemevent",
"systemevent",
"",
"",
"")
39 ->SetRemoved(
"mythbackend is no longer used send a SYSTEM_EVENT.",
"34")
40 <<
add(
"--clearcache",
"clearcache",
false,
"",
"")
41 ->SetRemoved(
"mythbackend is no longer used to clear\n"
42 " the database caches. Please use mythutil.",
"34")
43 <<
add(
"--printexpire",
"printexpire",
"ALL",
44 "Print upcoming list of recordings to be expired.",
"")
46 <<
add(
"--setverbose",
"setverbose",
"",
47 "Change debug mask of the existing master backend.",
"")
49 <<
add(
"--setloglevel",
"setloglevel",
"",
50 "Change logging level of the existing master backend.",
"")
54 add(
"--webonly",
"webonly",
false,
"Start in web-server-only mode.",
55 "Start the backend in web server mode, where only the "
56 "web server is running. "
57 "This is only for use when the backend crashes due "
58 " to an invalid configuration, and you need to use setup "
59 "to rectify it. Scheduler is disabled in this mode.");
60 add(
"--nosched",
"nosched",
false,
"",
61 "Intended for debugging use only, disable the scheduler "
62 "on this backend if it is the master backend, preventing "
63 "any recordings from occuring until the backend is "
64 "restarted without this option.");
65 add(
"--nojobqueue",
"nojobqueue",
false,
"",
66 "Intended for debugging use only, disable the jobqueue "
67 "on this backend. As each jobqueue independently selects "
68 "jobs, this will only have any affect on this local "
70 add(
"--nohousekeeper",
"nohousekeeper",
false,
"",
71 "Intended for debugging use only, disable the housekeeper "
72 "on this backend if it is the master backend, preventing "
73 "any guide processing, recording cleanup, or any other "
74 "task performed by the housekeeper.");
75 add(
"--noautoexpire",
"noautoexpire",
false,
"",
76 "Intended for debugging use only, disable the autoexpirer "
77 "on this backend if it is the master backend, preventing "
78 "recordings from being expired to clear room for new "
80 add(
"--user",
"username",
"",
81 "Drop permissions to username after starting.",
"");
86 return "MythBackend is the primary server application for MythTV. It is \n"
87 "used for recording and remote streaming access of media. Only one \n"
88 "instance of this application is allowed to run on one host at a \n"
89 "time, and one must be configured to operate as a master, performing \n"
90 "additional scheduler and housekeeper tasks.";
static void AllowOneOf(const QList< CommandLineArg * > &args)
Mark a list of arguments as mutually exclusive.
Parent class for defining application command line parsers.
void LoadArguments(void) override
void addPIDFile(void)
Canned argument definition for –pidfile.
void addVersion(void)
Canned argument definition for –version.
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_MYTHBACKEND
void addHelp(void)
Canned argument definition for –help.
MythBackendCommandLineParser()
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
QString GetHelpHeader(void) const override
void addUPnP(void)
Canned argument definition for –noupnp.
void addDaemon(void)
Canned argument definition for –daemon.
void addDVBv3(void)
Canned argument definition for –dvbv3.