Bug #5406
closedAutorec cleanup code is deleting log entries for completed recordings
100%
Description
Having updated TVHeadend from 4.3.1608 it seems that many of my recordings have vanished. The log at startup shows:
Dec 7 15:45:18 gomorrah tvheadend[327]: dvr: Purging obsolete autorec entries for current schedule
Dec 7 15:45:18 gomorrah tvheadend[327]: dvr: Entry cefdf55b6b6e3c2f92d64a2358cb0cf7 can be purged for "Escape to the Chateau" start 2018-11-26;20:00:00(+0000) stop 2018-11-26;21:00:00(+0000)
Dec 7 15:45:18 gomorrah tvheadend[327]: dvr: Entry 98c9e98532156b2fbff5cb6351a4d36d can be purged for "New: Portillo's Hidden History..." start 2018-11-02;21:00:00(+0000) stop 2018-11-02;22:00:00(+0000)
...
Dec 7 15:45:18 gomorrah tvheadend[327]: dvr: Purged 40 autorec entries that no longer match schedule
All of the recordings were made using 'Series Link' (CRID-based) timers.
Fortunately the actual .ts files have not been deleted so I should be able to restore the log entries from backup :)