mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
* Moviebrowser: Deleting recordings
- Deleting of active recordings will be disabled. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2112 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1636,6 +1636,20 @@ bool CRecordManager::MountDirectory(const char *recordingDir)
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool CRecordManager::IsFileRecord(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;
|
||||
}
|
||||
}
|
||||
mutex.unlock();
|
||||
return false;
|
||||
}
|
||||
|
||||
#if 0 // not used, saved in case we needed it
|
||||
extern bool autoshift_delete;
|
||||
bool CRecordManager::LinkTimeshift()
|
||||
|
Reference in New Issue
Block a user