mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
*CTimerList: show warnings on overlapping recording only in single mode
NOTE: Only tested on single box by me, please send feedback
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
|
||||
#include <zapit/getservices.h>
|
||||
#include <zapit/bouquets.h>
|
||||
#include <zapit/femanager.h>
|
||||
|
||||
#include <eitd/sectionsd.h>
|
||||
|
||||
@@ -1210,6 +1211,7 @@ int CTimerList::newTimer()
|
||||
|
||||
bool askUserOnTimerConflict(time_t announceTime, time_t stopTime)
|
||||
{
|
||||
if (CFEManager::getInstance()->getMode() == CFEManager::FE_MODE_SINGLE){
|
||||
CTimerdClient Timer;
|
||||
CTimerd::TimerList overlappingTimers = Timer.getOverlappingTimers(announceTime,stopTime);
|
||||
//printf("[CTimerdClient] attention\n%d\t%d\t%d conflicts with:\n",timerNew.announceTime,timerNew.alarmTime,timerNew.stopTime);
|
||||
@@ -1257,4 +1259,7 @@ bool askUserOnTimerConflict(time_t announceTime, time_t stopTime)
|
||||
//g_Locale->getText(TIMERLIST_OVERLAPPING_MESSAGE);
|
||||
|
||||
return (ShowMsgUTF(LOCALE_MESSAGEBOX_INFO,timerbuf,CMessageBox::mbrNo,CMessageBox::mbNo|CMessageBox::mbYes) == CMessageBox::mbrYes);
|
||||
}
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user