Project

General

Profile

Keep recordings information forever

Added by Michael Wieland almost 10 years ago

Hi,

I want to manually decide whether I remove the information of a recording from Tvheadend. Currently I've set the option "DVR Log Retention Time (days)" to 365 which should keep the recording up to 365 days. But maybe I've some recordings I just want to keep forever.

Is there a way to do that? If not it might be a very useful feature for one of the next releases (e.g. a checkbox "Automatically delete recording information" which can be disabled in my case).


Replies (2)

RE: Keep recordings information forever - Added by Adam Bowen over 9 years ago

I was wondering the same thing. I want to keep the logs forever. I had a look at the source code and the config option for the "DVR Log Retention Time" field (dvr_retention_days) is an unsigned 32 bit integer. That means that you can set it to 4,294,967,295 (and hope that you don't live longer than 11,767,033 years :P).

RE: Keep recordings information forever - Added by Adam Bowen over 9 years ago

I've given bad advice I'm afraid. After I did this myself, all of my old recording logs were deleted. Apparently, according to this thread:

https://tvheadend.org/boards/14/topics/8402?r=8404#message-8404

there is an internal maximum of 9000, so don't set it above that.

    (1-2/2)