[mythtv-commits] Ticket #6066: Wakeup time not set if Myth shuts down just before a scheduled recording

MythTV mythtv at cvs.mythtv.org
Wed Apr 14 18:59:30 UTC 2010


#6066: Wakeup time not set if Myth shuts down just before a scheduled recording
-------------------------------------------------+--------------------------
 Reporter:  bullestock@…                         |       Owner:  ijr    
     Type:  patch                                |      Status:  new    
 Priority:  minor                                |   Milestone:  unknown
Component:  MythTV - Mythwelcome & Mythshutdown  |     Version:  head   
 Severity:  medium                               |     Mlocked:  0      
-------------------------------------------------+--------------------------

Comment(by ralfd):

 A small change in welcomedialog.cpp should take care of this:

 void WelcomeDialog::updateStatusMessage(void)
 {
     m_statusList.clear();

     QDateTime curtime = QDateTime::currentDateTime();

     if (!m_isRecording && !m_nextRecordingStart.isNull() &&
             curtime.secsTo(m_nextRecordingStart) - m_preRollSeconds '''-
             m_secondsToShutdown''' < m_idleWaitForRecordingTime * 60)
     {
          m_statusList.append(tr("MythTV is about to start recording."));
     }

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6066#comment:5>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list