mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
CRecordManager: remove static error messages
Static message window expects user interaction but in this case user could be absent. and recordings could be running out of control. These messages are only warnings and "to slow" warning is optional. To avoid uncontrolled behavior of recordings, it should be enough to use messages with simple timeout.
This commit is contained in:
@@ -1325,10 +1325,10 @@ int CRecordManager::handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data
|
||||
if ((have_err & REC_STATUS_OVERFLOW) && error_display) {
|
||||
error_display = false;
|
||||
warn_display = false;
|
||||
DisplayErrorMessage(g_Locale->getText(LOCALE_STREAMING_OVERFLOW));
|
||||
ShowHint(LOCALE_MESSAGEBOX_INFO, LOCALE_STREAMING_OVERFLOW, 700, 60, NEUTRINO_ICON_ERROR, NULL, CComponentsHeader::CC_BTN_EXIT);
|
||||
} else if (g_settings.recording_slow_warning && warn_display) {
|
||||
warn_display = false;
|
||||
DisplayErrorMessage(g_Locale->getText(LOCALE_STREAMING_SLOW));
|
||||
ShowHint(LOCALE_MESSAGEBOX_INFO, LOCALE_STREAMING_SLOW, 700, 60, NEUTRINO_ICON_ERROR, NULL, CComponentsHeader::CC_BTN_EXIT);
|
||||
}
|
||||
}
|
||||
return messages_return::handled;
|
||||
|
Reference in New Issue
Block a user