mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now making sure a VPS timer has a schedule in case the epg.data file didn't contain one when VDR was started
This commit is contained in:
parent
9fe7b98cdb
commit
2be1771869
4
HISTORY
4
HISTORY
@ -4783,7 +4783,7 @@ Video Disk Recorder Revision History
|
|||||||
so that they can be suppressed in normal operation mode to avoid clogging the
|
so that they can be suppressed in normal operation mode to avoid clogging the
|
||||||
log file in case this function is used frequently (suggested by Helmut Auer).
|
log file in case this function is used frequently (suggested by Helmut Auer).
|
||||||
|
|
||||||
2006-06-17: Version 1.4.1-1
|
2006-06-18: Version 1.4.1-1
|
||||||
|
|
||||||
- Added "-fPIC" to the compiler options in Make.config.template when compiling
|
- Added "-fPIC" to the compiler options in Make.config.template when compiling
|
||||||
plugins (thanks to Udo Richter). If you use your own Make.config file, you may
|
plugins (thanks to Udo Richter). If you use your own Make.config file, you may
|
||||||
@ -4799,3 +4799,5 @@ Video Disk Recorder Revision History
|
|||||||
(thanks to Prakash Punnoor).
|
(thanks to Prakash Punnoor).
|
||||||
- Fixed handling relative link targets in the ReadLink() function (reported by
|
- Fixed handling relative link targets in the ReadLink() function (reported by
|
||||||
Patrick Cernko).
|
Patrick Cernko).
|
||||||
|
- Now making sure a VPS timer has a schedule in case the epg.data file didn't
|
||||||
|
contain one when VDR was started.
|
||||||
|
3
vdr.c
3
vdr.c
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* The project's page is at http://www.cadsoft.de/vdr
|
* The project's page is at http://www.cadsoft.de/vdr
|
||||||
*
|
*
|
||||||
* $Id: vdr.c 1.275 2006/06/16 09:17:24 kls Exp $
|
* $Id: vdr.c 1.276 2006/06/18 08:49:20 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -787,6 +787,7 @@ int main(int argc, char *argv[])
|
|||||||
const cSchedules *Schedules = cSchedules::Schedules(SchedulesLock);
|
const cSchedules *Schedules = cSchedules::Schedules(SchedulesLock);
|
||||||
if (Schedules) {
|
if (Schedules) {
|
||||||
const cSchedule *Schedule = Schedules->GetSchedule(Timer->Channel());
|
const cSchedule *Schedule = Schedules->GetSchedule(Timer->Channel());
|
||||||
|
InVpsMargin = !Schedule; // we must make sure we have the schedule
|
||||||
NeedsTransponder = Schedule && !Schedule->PresentSeenWithin(VPSUPTODATETIME);
|
NeedsTransponder = Schedule && !Schedule->PresentSeenWithin(VPSUPTODATETIME);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user