This is a "script" for the Video Disk Recorder (VDR).
Written by: Ralf Klüber <r@lf-klueber.de>,
Project's homepage: URL
Latest version available at: URL
See the file COPYING for license information.
Description:
A maximum number of recordings could be maintained per Directory.
If you would like to hold only one recording of the daily news from
a repeating timer this script is for you.
In a file vdrrecdel.conf could be defined how many recordings
in one directory should be allowed. If there are more than defined
the oldest recordings are deleted.
CAUTION!
Be carefull. The author does not take responsibility on any lost
recordings due to a mal function of the script or wrong configuration
by the user!
The syntax of the vdrrecdel.conf is easy to understand
Each line represents one folder. There are two fields. The first
is alphanumeric and holds the maximum allowed number of recordings.
The secound one is the absolute Path for a recording.
ATTENTION!
At the moment this script will not allow recordings to be spread over
several discs (video0, video1, ...)!
Example for vdrrecdel.conf
2 /vdr/video/Kids/Sesamstrasse
1 /vdr/video/Serien/Anke_Late_Night
In the Perlfile vdrrecdel provided with this package the absolut Path to
the conf file must be adapted to your local setting.
vdrrecdel should be started with the -r option of vdr. After each
recording it will look if the maximum number of not cutted recordings
is exeeded due to that recording. If so the oldest one is deleted.
Syntax
If you find this peace usefull and it works satisfying in your envoreoment, feel free to make note here.