Project

General

Profile

de|en

fskprotect

ATTENTION! For "edited" this Script need the name of the original recording as the third Parameter.
This is the case if you use vdr >= 1.7.28, but Plugins that call the recording "edited" hook need to support this also.

recording-hook record hook script to handle the protection.fsk record protection.

Install

foo bar

There are two modes for the protection.fsk protection
  1. the recording are direct protected with an protection.fsk flag file in the recording directory
  2. the recording are indirect protected because an upper directory are protected with the protection.fsk
This script will handle this as follow
  • if the record itself are protected the target record will also protected in the same way
  • if the record are protected because an upper directory are protected (indirect protection) then
    • the target record will not be direct protected if an upper directory of the target are protected, so the record keep its indirect protection status
    • the target record will be direct protected if none of the upper directory are protected