This adds a UI checkbox to mythtv-setup to allow configuration of the "JobAllowTranscode" setting, right next to "JobAllowCommFlag".
--Rob
Index: setup/backendsettings.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/setup/backendsettings.cpp,v
retrieving revision 1.40
diff -u -r1.40 backendsettings.cpp
--- setup/backendsettings.cpp 3 May 2005 12:34:20 -0000 1.40
+++ setup/backendsettings.cpp 19 Jun 2005 02:56:40 -0000
@@ -565,6 +565,16 @@
return gc;
};
+static HostCheckBox *JobAllowTranscode()
+{
+ HostCheckBox *gc = new HostCheckBox("JobAllowTranscode");
+ gc->setLabel(QObject::tr("Allow Transcoding jobs"));
+ gc->setValue(true);
+ gc->setHelpText(QObject::tr("Allow jobs of this type to run on this "
+ "backend."));
+ return gc;
+};
+
static HostCheckBox *JobAllowUserJob1()
{
HostCheckBox *gc = new HostCheckBox("JobAllowUserJob1");
@@ -674,6 +684,7 @@
group5a1->addChild(JobQueueWindowEnd());
group5a1->addChild(JobQueueCPU());
group5a1->addChild(JobAllowCommFlag());
+ group5a1->addChild(JobAllowTranscode());
group5a->addChild(group5a1);
VerticalConfigurationGroup* group5a2 =
signature.asc
Description: Digital signature
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
