mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
src/gui/eventlist.cpp fix timeshif_record timer handling
This commit is contained in:
@@ -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 ?
|
||||
|
@@ -195,6 +195,7 @@ class CRecordManager : public CMenuTarget /*, public CChangeObserver*/
|
||||
bool StartAutoRecord();
|
||||
bool StopAutoRecord(bool lock = true);
|
||||
void StopAutoTimer();
|
||||
bool CheckRecordingId_if_Timeshift(int recid);
|
||||
|
||||
MI_MOVIE_INFO * GetMovieInfo(const t_channel_id channel_id, bool timeshift = true);
|
||||
const std::string GetFileName(const t_channel_id channel_id, bool timeshift = true);
|
||||
|
Reference in New Issue
Block a user