mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
* Moviebrowser: Fix delete files when recording in progress.
This commit is contained in:
@@ -1743,7 +1743,11 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg)
|
|||||||
CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, false) == CMessageBox::mbrNo)
|
CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, false) == CMessageBox::mbrNo)
|
||||||
onDelete = false;
|
onDelete = false;
|
||||||
else {
|
else {
|
||||||
g_Timerd->removeTimerEvent(inst->GetRecordingId());
|
CTimerd::RecordingStopInfo recinfo;
|
||||||
|
recinfo.channel_id = inst->GetChannelId();
|
||||||
|
recinfo.eventID = inst->GetRecordingId();
|
||||||
|
CRecordManager::getInstance()->Stop(&recinfo);
|
||||||
|
g_Timerd->removeTimerEvent(recinfo.eventID);
|
||||||
skipAsk = true;
|
skipAsk = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user