Project

General

Profile

Auto delete finished recording with error

Added by Dominik Nepoviem about 6 years ago

Hello,

I would like to auto delete finished recordings that have more than 1 number of error occured during recording ...

How can i make this ?

Thank you very much for your helping !

Dominiques


Replies (4)

RE: Auto delete finished recording with error - Added by Dominik Nepoviem about 6 years ago

Anyone can help with this ?

If more than 1 data errors , will stop recording or will immediately delete from finished recordings

Thanks

error.jpg (49.7 KB) error.jpg

RE: Auto delete finished recording with error - Added by Dave Pickles about 6 years ago

Does the setting "Try re-scheduling recording if more errors than (0=off):" in Configuration->Recording->Digital Video Recorder Profiles not meet your needs?

It's possible to run a script when a recording finishes, see Configuration->Recording->Digital Video Recorder Profiles. You can pass down to the script the number of errors in the recording - see the help for details.

Your script must now delete the recording if the number of errors exceeds your threshold. This can be done using the HTTP API, see https://github.com/dave-p/TVH-API-docs/wiki/Dvr#dvrentryremove. Unfortunately that API requires the UUID of the recording; to find that you will need to find the DVR log file corresponding to the recording in ~/.hts/tvheadend/dvr/log/ - the UUID is the name of the log file.

RE: Auto delete finished recording with error - Added by Dominik Nepoviem about 6 years ago

Hello,

Does the setting "Try re-scheduling recording if more errors than (0=off):" in Configuration->Recording->Digital Video Recorder Profiles not meet your needs? - not working :(

any another idea, more simple .. than make a scripts :( ?

Thanks for helping

Dominik

RE: Auto delete finished recording with error - Added by Dominik Nepoviem about 6 years ago

Hello,

Can you help ?

Thanks

Dominik

    (1-4/4)