Project

General

Profile

Consider adding pre recording script

Added by Brian Friesen about 10 years ago

I know tvheadend supports a post recording script, but I'd like to see an option for a pre recording script. In my setup, tvheadend records directly to my NAS box via a mounted folder. The problem is, usually when a recording starts the hard drive in the NAS has spun down, so it takes a few seconds for the drive to spin up. But during that delay, the tvheadend recording fails. So I'd love to be able to run a pre recording script which could force the NAS box to spin up before the recording starts.

For now I have a work around, for each recording I can create a second recording for a few minutes before. That recording will fail, but the NAS will be fully up and running so the second will complete.