Ticket #3597: scheduler_idle_countdown_reset_fix.diff

File scheduler_idle_countdown_reset_fix.diff, 644 bytes (added by tino.keitel+mythtv@…, 13 years ago)

fix to prevent the scheduler from resetting the idle countdown

  • programs/mythbackend/scheduler.cpp

     
    15261526
    15271527        if (statuschanged)
    15281528        {
     1529          QString msg;
    15291530            MythEvent me("SCHEDULE_CHANGE");
    15301531            gContext->dispatch(me);
    1531             idleSince = QDateTime();
     1532            msg = QString("Resetting of idleSince aborted!");
     1533            VERBOSE(VB_IMPORTANT, msg);
     1534
     1535            //idleSince = QDateTime();
    15321536        }
    15331537
    15341538        // if idletimeout is 0, the user disabled the auto-shutdown feature