No longer switching devices for pattern timers

This commit is contained in:
Klaus Schmidinger 2021-04-06 10:00:27 +02:00
parent 19a0e3cda7
commit d536cf0947
3 changed files with 4 additions and 2 deletions

View File

@ -3651,6 +3651,7 @@ Helmut Binder <cco@aon.at>
PMT pid were checked any more
for reporting a problem with PMT handling in case locking the Channels list times out
for avoiding a lengthy lock on the Channels list when starting a recording
for preventing switching devices for pattern timers
Ulrich Eckhardt <uli@uli-eckhardt.de>
for reporting a problem with shutdown after user inactivity in case a plugin is

View File

@ -9638,3 +9638,4 @@ Video Disk Recorder Revision History
- Fixed handling the timer counter in cSchedule::DelEvent().
- Fixed MakePatternFileName() in case the event doesn't yet have a short text (reported
by Jürgen Schneider).
- No longer switching devices for pattern timers (thanks to Helmut Binder).

4
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
* $Id: vdr.c 5.2 2021/04/06 08:48:35 kls Exp $
* $Id: vdr.c 5.3 2021/04/06 10:00:27 kls Exp $
*/
#include <getopt.h>
@ -1136,7 +1136,7 @@ int main(int argc, char *argv[])
if (Now - LastTimerCheck > TIMERCHECKDELTA) { // don't do this too often
InhibitEpgScan = false;
for (cTimer *Timer = Timers->First(); Timer; Timer = Timers->Next(Timer)) {
if (Timer->Remote())
if (Timer->Remote() || Timer->IsPatternTimer())
continue;
bool InVpsMargin = false;
bool NeedsTransponder = false;