time_t TimeRecording::GetStart() const { if (m_start == int32_t(-1)) // "any time" return 0; return LocaltimeToUTC(m_start); }
time_t AutoRecording::GetStop() const { if (m_startWindow == int32_t(-1)) // "any time" return 0; return LocaltimeToUTC(m_startWindow); }
time_t AutoRecording::GetStop() const { if (tvh->GetSettings().bAutorecApproxTime) { /* Tvh doesn't have an approximate stop time => "any time" */ return 0; } else { if (m_startWindowEnd == int32_t(-1)) // "any time" return 0; return LocaltimeToUTC(m_startWindowEnd); } }