mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
src/gui/eventlist.cpp fix timeshif_record timer handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: 65a237c991
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-08-20 (Thu, 20 Aug 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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