record menu: add filename template

Origin commit data
------------------
Commit: e0055b5339
Author: FlatTV <FlatTV@gmx.de>
Date: 2014-03-13 (Thu, 13 Mar 2014)
This commit is contained in:
FlatTV
2014-03-13 17:24:36 +01:00
committed by vanhofen
parent 6076c2bdb6
commit dfd972bfe7
9 changed files with 89 additions and 22 deletions

View File

@@ -79,6 +79,7 @@ class CRecordInstance
t_channel_id channel_id;
event_id_t epgid;
std::string epgTitle;
std::string epgInfo1;
unsigned char apidmode;
time_t epg_time;
time_t start_time;
@@ -107,7 +108,9 @@ class CRecordInstance
bool SaveXml();
record_error_msg_t Start(CZapitChannel * channel);
void WaitRecMsg(time_t StartTime, time_t WaitTime);
public:
void MakeExtFileName(CZapitChannel * channel, std::string &FilenameTemplate);
void StringReplace(std::string &str, const std::string search, const std::string rstr);
public:
CRecordInstance(const CTimerd::RecordingInfo * const eventinfo, std::string &dir, bool timeshift = false, bool stream_vtxt_pid = false, bool stream_pmt_pid = false, bool stream_subtitle_pids = false);
~CRecordInstance();