[vdr] EPG not purged if -E- option set

Klaus Schmidinger Klaus.Schmidinger at tvdr.de
Sat Aug 31 15:22:42 CEST 2013


On 31.08.2013 11:06, Dave wrote:
> I run VDR 2.0.2 on a Raspberry Pi. The device runs continuously, so to avoid wearing out the SD card or needlessly spinning-up the USB disk drive I run VDR with the -E- option to prevent saving the EPG every 10 minutes.
>
> Today I created a timer for one programme in a long-running series and was surprised to find that the Series Link plugin had scheduled timers for earlier episodes, some broadcast several weeks ago! These timers were then automatically deleted of course.
>
> Looking at the code, it seems that cleaning up the EPG schedules is a side-effect of writing the data file, so the -E- option disables both. Having the EPG grow unbounded is perhaps not desirable on devices such as the Raspberry Pi which have limited memory and CPU.

Please try the attached patch. This one does compile ;-).

Klaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-2.0.2-fixepgcleanup-2.diff
Type: text/x-patch
Size: 1288 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20130831/9f74939d/attachment.bin>


More information about the vdr mailing list