mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CTimerManager:: don't set wekup flag if box boot from zapto timer
This commit is contained in:
@@ -1818,7 +1818,7 @@ TIMER_START();
|
||||
//timer start
|
||||
bool timer_wakeup = false;
|
||||
wake_up( timer_wakeup );
|
||||
pthread_create (&timer_thread, NULL, timerd_main_thread, (void *) timer_wakeup);
|
||||
pthread_create (&timer_thread, NULL, timerd_main_thread, (void *) (timer_wakeup && g_settings.shutdown_timer_record_type));
|
||||
timerd_thread_started = true;
|
||||
|
||||
init_cec_setting = true;
|
||||
|
@@ -61,6 +61,7 @@ void CTimerManager::Init(void)
|
||||
eventServer = new CEventServer;
|
||||
m_saveEvents = false;
|
||||
m_isTimeSet = false;
|
||||
timer_is_rec = false;
|
||||
wakeup = 0;
|
||||
loadRecordingSafety();
|
||||
|
||||
@@ -706,6 +707,8 @@ bool CTimerManager::shutdown()
|
||||
dprintf("shutdown: nextAnnounceTime %ld\n", nextAnnounceTime);
|
||||
if ( event->eventType == CTimerd::TIMER_RECORD )
|
||||
timer_is_rec = true;
|
||||
else
|
||||
timer_is_rec = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user