Sometimes i was wondering why my HTPC doesn't shut down even when i am not watching tv. Standing in the Home-Screen. PowerScheduler setted to 5 minutes. After analyzing the logs i see that the DVB EPG Grabber prevents the system to go into standby. So i looked for a way to tell Mediaportal to grab EPG only at night.
What is done:
- New config option in DVB-EPG Grabber page in TVService
* Use Timeslot for EPG grabbing (as a checkbox)
* Not before (as a DateTime Picker with Time-Only Option)
* Not after (as a DateTime Picker with Time-Only Option)
- Implementation of this functionality
If the checkbox is set (Use Timeslot) and the current time is NOT between "Not before" and "Not after" then the DVB EPG Grabber won't start grabbing EPG or (if already running) finishes the current grab on the actual transponder and then stops grabbing
If the checkbox is not set all remains as always
I saw a code fragment like this in _epgTimer_Elapsed(...) which starts the grabbing of EPG:
if (_tvController.AllCardsIdle == false)
return;
I think this is a error, because i think the grabbing can start when minmum of 1 Card is Idle. This code supresses the grabbing if i have 2 Cards and only 1 Card is idle. What do you think about it?
Patch is for SVN-Revision 28137
What is done:
- New config option in DVB-EPG Grabber page in TVService
* Use Timeslot for EPG grabbing (as a checkbox)
* Not before (as a DateTime Picker with Time-Only Option)
* Not after (as a DateTime Picker with Time-Only Option)
- Implementation of this functionality
If the checkbox is set (Use Timeslot) and the current time is NOT between "Not before" and "Not after" then the DVB EPG Grabber won't start grabbing EPG or (if already running) finishes the current grab on the actual transponder and then stops grabbing
If the checkbox is not set all remains as always
I saw a code fragment like this in _epgTimer_Elapsed(...) which starts the grabbing of EPG:
if (_tvController.AllCardsIdle == false)
return;
I think this is a error, because i think the grabbing can start when minmum of 1 Card is Idle. This code supresses the grabbing if i have 2 Cards and only 1 Card is idle. What do you think about it?
Patch is for SVN-Revision 28137
Attachments
Last edited by a moderator: