diff options
author | Dave <vdr@pickles.me.uk> | 2015-02-23 10:06:05 +0000 |
---|---|---|
committer | Dave <vdr@pickles.me.uk> | 2015-02-23 10:06:05 +0000 |
commit | 80840ff8ec774158d85a3bacfdc8c421a933769e (patch) | |
tree | cb265fdd9c72bed7a2c95d1b56beaf496cb14789 /vdrtva.c | |
parent | f1341286419473da24fdfc7ed72c380fbf397640 (diff) | |
download | vdrtva-0.3.5.tar.gz vdrtva-0.3.5.tar.bz2 |
Added VPS patch for new stable VDR version 2.2.0.v0.3.5
Diffstat (limited to 'vdrtva.c')
-rw-r--r-- | vdrtva.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -600,6 +600,7 @@ void cPluginvdrTva::AddNewEventsToSeries() // Check timers to see if the event they were set to record is still in the EPG. // This won't work if VPS is not used and the start time is padded by a custom amount. +// TODO Go hunting for another instance of the event. void cPluginvdrTva::CheckChangedEvents() { @@ -614,10 +615,10 @@ void cPluginvdrTva::CheckChangedEvents() if (!ti->HasFlags(tfVps)) { start_time += Setup.MarginStart * 60; } - const cEvent *event = schedule->GetEvent(0, start_time); const char *file = strrchr(ti->File(), '~'); if (!file) file = ti->File(); else file++; + const cEvent *event = schedule->GetEvent(0, start_time); if (!event) REPORT("Event for timer '%s' at %s seems to no longer exist", file, *DayDateTime(ti->StartTime())); else if (strcmp(file, event->Title())) { REPORT("Changed timer event at %s: %s <=> %s", *DayDateTime(ti->StartTime()), file, event->Title()); |