[mythtv-commits] Ticket #12793: add configuration widget for "dvb_eitscan" to the HDHR configuration

MythTV noreply at mythtv.org
Thu May 26 09:28:40 UTC 2016


#12793: add configuration widget for "dvb_eitscan" to the HDHR configuration
------------------------------------+-------------------------
     Reporter:  dekarl              |      Owner:  dekarl
         Type:  Developer Task      |     Status:  new
     Priority:  minor               |  Milestone:  unknown
    Component:  MythTV - HDHomeRun  |    Version:  Unspecified
     Severity:  medium              |   Keywords:
Ticket locked:  0                   |
------------------------------------+-------------------------
 The setting already works, but can only be set by bypassing mythtv-setup.
 From mythtv/libs/libmythtv/videosource.cpp
 {{{
 class DVBEITScan : public CheckBoxSetting, public CaptureCardDBStorage
 {
   public:
     DVBEITScan(const CaptureCard &parent) :
         CheckBoxSetting(this),
         CaptureCardDBStorage(this, parent, "dvb_eitscan")
     {
         setLabel(QObject::tr("Use DVB card for active EIT scan"));
         setValue(true);
         setHelpText(
             QObject::tr("If enabled, activate active scanning for "
                         "program data (EIT). When this option is enabled "
                         "the DVB card is constantly in-use."));
     };
 };
 }}}
 {{{
 DVBExtra::DVBExtra(DVBConfigurationGroup &parent)
     : count(new InstanceCount(parent.parent))
 {
     VerticalConfigurationGroup* rec = new
 VerticalConfigurationGroup(false);
     rec->setLabel(QObject::tr("Recorder Options"));
     rec->setUseLabel(false);

     rec->addChild(count);
     rec->addChild(new DVBNoSeqStart(parent.parent));
     rec->addChild(new DVBOnDemand(parent.parent));
     rec->addChild(new DVBEITScan(parent.parent));
     rec->addChild(new DVBTuningDelay(parent.parent));

     addChild(rec);
 }
 }}}
 likely can simply be added here
 {{{
 HDHomeRunExtra::HDHomeRunExtra(HDHomeRunConfigurationGroup &parent) :
     count(new InstanceCount(parent.parent))
 {
     VerticalConfigurationGroup* rec = new
 VerticalConfigurationGroup(false);
     rec->setLabel(QObject::tr("Recorder Options"));
     rec->setUseLabel(false);

     rec->addChild(new SignalTimeout(parent.parent, 1000, 250));
     rec->addChild(new ChannelTimeout(parent.parent, 3000, 1750));
     rec->addChild(count);

     addChild(rec);
 }
 }}}
 not changing the default behavior would be nice

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12793>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list