mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
* Commit 295efb1
: Fix delete query when multiple same channelid
This commit is contained in:
@@ -1096,6 +1096,18 @@ bool CRecordManager::Stop(const t_channel_id channel_id)
|
||||
return (inst != NULL);
|
||||
}
|
||||
|
||||
bool CRecordManager::IsRecording(const CTimerd::RecordingStopInfo * recinfo)
|
||||
{
|
||||
bool ret = false;
|
||||
mutex.lock();
|
||||
CRecordInstance * inst = FindInstanceID(recinfo->eventID);
|
||||
if(inst != NULL && recinfo->eventID == inst->GetRecordingId())
|
||||
ret = true;
|
||||
mutex.unlock();
|
||||
printf("[%s] eventID: %d, channel_id: 0x%llx, ret: %d\n", __FUNCTION__, recinfo->eventID, recinfo->channel_id, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool CRecordManager::Stop(const CTimerd::RecordingStopInfo * recinfo)
|
||||
{
|
||||
bool ret = false;
|
||||
|
Reference in New Issue
Block a user