Ticket #6066: 6060_1.diff

File 6060_1.diff, 833 bytes (added by laga, 10 years ago)

Patch against backend

  • programs/mythbackend/scheduler.cpp

     
    21532153        if (add)
    21542154            restarttime = restarttime.addSecs((-1) * add);
    21552155
     2156
     2157        if (restarttime < QDateTime().addSecs(add))
     2158        {
     2159            VERBOSE(VB_IMPORTANT, "Not shutting down! Too close to beginning of recording!");
     2160            idleSince = QDateTime();
     2161            m_isShuttingDown = false;
     2162            return;
     2163        }
     2164
     2165
    21562166        QString wakeup_timeformat = gContext->GetSetting("WakeupTimeFormat",
    21572167                                                         "hh:mm yyyy-MM-dd");
    21582168        QString setwakeup_cmd = gContext->GetSetting("SetWakeuptimeCommand",