src/gui/eventlist.cpp fix timeshif_record timer handling

Origin commit data
------------------
Commit: 65a237c991
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-08-20 (Thu, 20 Aug 2015)
This commit is contained in:
Jacek Jendrzej
2015-08-20 15:51:57 +02:00
parent 3c9ed9d57c
commit 42fc47aee3
3 changed files with 25 additions and 6 deletions

View File

@@ -858,6 +858,17 @@ CRecordInstance * CRecordManager::FindTimeshift()
return NULL;
}
bool CRecordManager::CheckRecordingId_if_Timeshift(int recid)
{
if(recid > 0){
CRecordInstance * inst = FindInstanceID(recid);
if(inst){
return inst->Timeshift();
}
}
return false;
}
MI_MOVIE_INFO * CRecordManager::GetMovieInfo(t_channel_id channel_id, bool timeshift)
{
//FIXME copy MI_MOVIE_INFO ?