static GlobalLineEdit *BackendStartCommand() { GlobalLineEdit *gc = new GlobalLineEdit("BackendStartCommand"); gc->setLabel(QObject::tr("Backend start command")); gc->setValue("mythbackend"); gc->setHelpText(QObject::tr("The command used to start the backend" " when running on the master backend server " "(e.g. sudo /etc/init.d/mythtv-backend start).")); return gc; };
static GlobalLineEdit *MythFillDatabasePath() { GlobalLineEdit *be = new GlobalLineEdit("MythFillDatabasePath"); be->setLabel(QObject::tr("mythfilldatabase program")); be->setValue("mythfilldatabase"); be->setHelpText(QObject::tr( "Use 'mythfilldatabase' or the name of a custom " "script that will populate the program guide info " "for all your video sources.")); return be; }
static GlobalLineEdit *startupCommand() { GlobalLineEdit *gc = new GlobalLineEdit("startupCommand"); gc->setLabel(QObject::tr("Startup command")); gc->setValue(""); gc->setHelpText(QObject::tr("This command is executed right after starting " "the BE. As a parameter '$status' is replaced by either " "'auto' if the machine was started automatically or " "'user' if a user switched it on.")); return gc; };
static GlobalLineEdit *WakeupTimeFormat() { GlobalLineEdit *gc = new GlobalLineEdit("WakeupTimeFormat"); gc->setLabel(QObject::tr("Wakeup time format")); gc->setValue("hh:mm yyyy-MM-dd"); gc->setHelpText(QObject::tr("The format of the time string passed to the " "'Command to set wakeup time' as $time. See " "QT::QDateTime.toString() for details. Set to 'time_t' for " "seconds since epoch.")); return gc; };
static GlobalLineEdit *preSDWUCheckCommand() { GlobalLineEdit *gc = new GlobalLineEdit("preSDWUCheckCommand"); gc->setLabel(QObject::tr("Pre-shutdown-check command")); gc->setValue(""); gc->setHelpText(QObject::tr("A command executed before the backend would " "shutdown. The return value determines if " "the backend can shutdown. 0 - yes, " "1 - restart idling, " "2 - reset the backend to wait for a frontend.")); return gc; };
static GlobalLineEdit *MasterServerIP() { GlobalLineEdit *gc = new GlobalLineEdit("MasterServerIP"); gc->setLabel(QObject::tr("IP address")); gc->setValue("127.0.0.1"); gc->setHelpText(QObject::tr("The IP address of the master backend " "server. All frontend and non-master backend machines " "will connect to this server. If you only have one " "backend, this should be the same IP address as " "above.")); return gc; };