mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
Fix crash after txt not found on TP; Not ask about recording in case of auto timeshift
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@735 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 474c348fa8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-08-21 (Sat, 21 Aug 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3698,9 +3698,15 @@ extern time_t timer_minutes;
|
||||
|
||||
void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
|
||||
{
|
||||
if (!recordingstatus ||
|
||||
ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWN_RECODING_QUERY, CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, true) == CMessageBox::mbrYes)
|
||||
{
|
||||
bool do_shutdown = true;
|
||||
|
||||
if(recordingstatus && !autoshift) {
|
||||
do_shutdown =
|
||||
(ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWN_RECODING_QUERY, CMessageBox::mbrNo,
|
||||
CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, true) == CMessageBox::mbrYes);
|
||||
}
|
||||
|
||||
if(do_shutdown) {
|
||||
if(recordingstatus) {
|
||||
CVCRControl::getInstance()->Stop();
|
||||
g_Timerd->stopTimerEvent(recording_id);
|
||||
|
Reference in New Issue
Block a user