Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unlimit the default mythfilldatabase run window.

Change the default mythfilldatabase execution start and end times to 0
and 23, respectively, to allow mythfilldatabase to run at any time
during the day on a default install.  This ensures that mythfilldatabase
will run, even for users who start mythbackend only occasionally (such
as for users who shut down their systems when not in use) rather than
only for those users who start mythbackend between 2 and 5 am or who
find and modify the default mythfilldatabase window times.

Note that the "mythfilldatabase execution start" and "mythfilldatabase
execution end" settings are ignored for users who do not disable, "Run
mythfilldatabase at time suggested by the grabber," and whose grabbers
support suggested next run times (currently Schedules Direct).
Therefore, this change will only affect XMLTV users who set up a new
MythTV database.

XMLTV users whose systems have issues running mythfilldatabase while
recording will need to modify the start/end times to specify an
appropriate window for mythfilldatabase runs.

Existing XMLTV users who do not want to use the 2am-5am window that was
previously the default will need to modify their configuration
themselves.  This change does not affect existing users' configuration.

Thanks to Max Barry for bringing up the issues caused by having a small
default window for mythfilldatabase runs for users who shut down their
systems and for listings providers who receive too many requests in a
short time.
  • Loading branch information...
commit d915ef7ab3eecb68b7a8b891d179f9032793a33d 1 parent 7f8dc92
@sphery sphery authored
View
4 mythtv/programs/mythbackend/config_backend_general.xml
@@ -715,7 +715,7 @@
<setting data_type="select" value="MythFillMinHour"
label="mythfilldatabase Execution Start"
- default_data="2"
+ default_data="0"
setting_type="global"
help_text="This setting and the following one define a
time period when the mythfilldatabase process is
@@ -748,7 +748,7 @@
<setting data_type="select" value="MythFillMaxHour"
label="mythfilldatabase Execution End"
- default_data="5"
+ default_data="23"
setting_type="global"
help_text="This setting and the preceding one define a
time period when the mythfilldatabase process is
View
4 mythtv/programs/mythtv-setup/backendsettings.cpp
@@ -749,7 +749,7 @@ static GlobalSpinBox *MythFillMinHour()
{
GlobalSpinBox *bs = new GlobalSpinBox("MythFillMinHour", 0, 23, 1);
bs->setLabel(QObject::tr("mythfilldatabase execution start"));
- bs->setValue(2);
+ bs->setValue(0);
bs->setHelpText(QObject::tr("This setting and the following one define a "
"time period when the mythfilldatabase process is "
"allowed to run. For example, setting start to 11 and "
@@ -762,7 +762,7 @@ static GlobalSpinBox *MythFillMaxHour()
{
GlobalSpinBox *bs = new GlobalSpinBox("MythFillMaxHour", 0, 23, 1);
bs->setLabel(QObject::tr("mythfilldatabase execution end"));
- bs->setValue(5);
+ bs->setValue(23);
bs->setHelpText(QObject::tr("This setting and the preceding one define a "
"time period when the mythfilldatabase process is "
"allowed to run. For example, setting start to 11 and "
Please sign in to comment.
Something went wrong with that request. Please try again.