Project

General

Profile

Feature #1398

Feature #1087: DVR Improvements

Add a "Number of recordings to keep" attribute for autorecs

Added by Sébastien Aubry about 12 years ago. Updated almost 4 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
Category:
PVR / DVR
Target version:
Start date:
2012-11-12
Due date:
% Done:

0%

Estimated time:

Description

[This feature is probably part of a larger "Keep until..." attribute which would apply to every recording.]

I have some daily shows scheduled as "autorecs" (e.g. news related shows). I would very much like tvHeadend to only keep a given number of recordings (e.g. 3). Currently, since my log retention time equals to 30 days, about 30 of these shows are kept.
This means that when a new recording is complete, TvHeadend would check if the total number of recordings of this show exceeds this given value.
This option is available in some other PVR programs, e.g. ForTheRecord Argus, MediaPortal TV Server, WMC.

A complementary move would be to ask for a feature in XBMC to group the recordings by name when displaying them.

History

#1

Updated by Adam Sutton about 12 years ago

  • Status changed from New to Accepted
  • Parent task set to #1087

This has been discussed elsewhere, can't remember if there is actually a specific FR for it already, but I'll assume not. But it's certainly on the list of things I'd like to do.

Adam

#2

Updated by Daniel Eiteneuer about 10 years ago

There is already the option "DVR Log retention time (days)" available in the recording section. Maybe it is possible to delete the recording file, too. This way, you could also keep your recording folder clean.
By the way, what's the purpose of keeping the record file endlessly while tvheadend might have forgotten anything about it?

#3

Updated by Sébastien Aubry about 10 years ago

Hi,
This has been worked around with the third-party post-processing script Autodelete: https://tvheadend.org/boards/5/topics/4300
This script will always delete the oldest recordings so that there is still some space free on the hard disk.

#4

Updated by Mario D about 10 years ago

I would add an option like "delete related recording" (conditioned to "DVR Log Retention Time" > 0). It would be very useful.

#5

Updated by Sébastien Aubry about 10 years ago

I did put a very high "DVR Log Retention Time".
TvHeadend automatically detects the files deleted by Autodelete, this way the log and the files on the disk are consistent.

#6

Updated by Daniel Eiteneuer about 10 years ago

I would love an option as Mario has mentioned. If I save a new autorec, I don't want to ssh into the PC and rescript the clean up procedure. I think, tvheadend should handle the autocleaning of the records.
At some time in the future, one may implement an option such as "Number of recordings to keep". But for now, this should do it.

#7

Updated by Sébastien Aubry about 10 years ago

I agree, this would be useful. I was just saying that using a post-processing script such as autodelete does the job.

#8

Updated by Jaroslav Kysela over 9 years ago

  • Target version set to 4.4
#9

Updated by Flole Systems almost 4 years ago

  • Target version changed from 4.4 to 4.6

Also available in: Atom PDF