mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
* Moviebrowser: Ask if the file of a running recording to be deleted.
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