mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
Moviebrowser: Ask if the file of a running recording to be deleted.
Origin commit data
------------------
Branch: ni/coolstream
Commit: fefa483469
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-11-26 (Mon, 26 Nov 2012)
Origin message was:
------------------
* Moviebrowser: Ask if the file of a running recording to be deleted.
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1650,18 +1650,18 @@ void CRecordManager::RestoreNeutrino(void)
|
||||
g_Sectionsd->setPauseScanning(false);
|
||||
}
|
||||
|
||||
bool CRecordManager::IsFileRecord(std::string file)
|
||||
CRecordInstance* CRecordManager::getRecordInstance(std::string file)
|
||||
{
|
||||
mutex.lock();
|
||||
for(recmap_iterator_t it = recmap.begin(); it != recmap.end(); it++) {
|
||||
CRecordInstance * inst = it->second;
|
||||
if ((((std::string)inst->GetFileName()) + ".ts") == file) {
|
||||
mutex.unlock();
|
||||
return true;
|
||||
return inst;
|
||||
}
|
||||
}
|
||||
mutex.unlock();
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user