#! /bin/sh /usr/share/dpatch/dpatch-run ## 90_remotetimers-0.1.1-1.7.3.dpatch by Thomas Günther ## http://toms-cafe.de/vdr/download/remotetimers-0.1.1-1.7.3.diff ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Changes for VDR >= 1.7.3. @DPATCH@ --- remotetimers-0.1.1/menu.c +++ remotetimers-0.1.1/menu.c @@ -1988,7 +1988,12 @@ cMenuRecordingItem *ri = (cMenuRecordingItem *)Get(Current()); if (ri && !ri->IsDirectory()) { cDevice::PrimaryDevice()->StopReplay(); // must do this first to be able to rewind the currently replayed recording +#if VDRVERSNUM >= 10703 + cRecording *recording = Recordings.GetByName(ri->FileName()); + cResumeFile ResumeFile(ri->FileName(), recording && recording->IsPesRecording()); +#else cResumeFile ResumeFile(ri->FileName()); +#endif ResumeFile.Delete(); return Play(); }