Project

General

Profile

Bug #5406

Autorec cleanup code is deleting log entries for completed recordings

Added by Dave Pickles almost 6 years ago. Updated almost 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
PVR / DVR
Target version:
-
Start date:
2018-12-07
Due date:
% Done:

100%

Estimated time:
Found in version:
4.3-1631~g259156312-dirty
Affected Versions:

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 :)

History

#1

Updated by Luis Alves almost 6 years ago

Happened the same to me this morning.

Not using "series link" here.

Updated to latest git, restarted tvh and all my recording logs were gone...

#2

Updated by Dave Pickles almost 6 years ago

I've (manually) reverted 113dfd6 and restored dvr/log/* from backup, now (most of) my recordings are back.

#3

Updated by Luis Alves almost 6 years ago

I think the purpose of the commit was to delete obsolete scheduled recordings from autorecs, but apparently it's removing also the finished & failed recordings...

#4

Updated by Jaroslav Kysela almost 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|30332f8b3e733fc7fccaa6574a977da487499c0a.

Also available in: Atom PDF