driver/scanepg.cpp: add timer to rescan epg every 24 hours

This commit is contained in:
[CST] Focus
2013-12-19 19:44:17 +04:00
parent 5acfcb9dee
commit bf520e26fc
2 changed files with 50 additions and 17 deletions

View File

@@ -38,6 +38,9 @@ class CEpgScan
t_channel_id next_chid;
t_channel_id live_channel_id;
std::set<transponder_id_t> scanned;
uint32_t rescan_timer;
bool scan_in_progress;
void AddBouquet(CChannelList * clist);
bool AddFavorites();
void AddTransponders();
@@ -51,8 +54,8 @@ class CEpgScan
int handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data);
void Next();
void Clear();
void StartStandby();
void StopStandby();
void Start(bool instandby = false);
void Stop();
bool Running();
};