mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
recording: add timer logic to ensure recording messages are readable for all users
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1750 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 527c448068
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-10-05 (Wed, 05 Oct 2011)
Origin message was:
------------------
- recording: add timer logic to ensure recording messages are readable for all users
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1750 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -92,6 +92,7 @@ class CRecordInstance
|
||||
|
||||
std::string Directory;
|
||||
char filename[FILENAMEBUFFERSIZE];
|
||||
std::string rec_stop_msg;
|
||||
|
||||
CMovieInfo * cMovieInfo;
|
||||
MI_MOVIE_INFO * recMovieInfo;
|
||||
@@ -104,6 +105,7 @@ class CRecordInstance
|
||||
record_error_msg_t MakeFileName(CZapitChannel * channel);
|
||||
bool SaveXml();
|
||||
record_error_msg_t Start(CZapitChannel * channel /*, APIDList &apid_list*/);
|
||||
void WaitRecMsg(time_t StartTime, time_t WaitTime);
|
||||
public:
|
||||
CRecordInstance(const CTimerd::RecordingInfo * const eventinfo, std::string &dir, bool timeshift = false, bool stream_vtxt_pid = false, bool stream_pmt_pid = false);
|
||||
~CRecordInstance();
|
||||
@@ -120,6 +122,7 @@ class CRecordInstance
|
||||
const char * GetFileName() { return filename; };
|
||||
bool Timeshift() { return autoshift; };
|
||||
int tshift_mode;
|
||||
void SetStopMessage(const char* text) {rec_stop_msg = text;} ;
|
||||
};
|
||||
|
||||
typedef std::map<t_channel_id, CRecordInstance*> recmap_t;
|
||||
|
Reference in New Issue
Block a user