Checking episode length?

Has anyone doing post processing implemented a duration check in their script?

I have spotty reception – great at night, but during the heat of the day it sometimes breaks up. Since most of my DVR activity is in the evening it’s usually not a problem. However, I do occasionally get recordings truncated early due to poor signal.

Since I transcode my recordings to save space, I don’t want to use CPU time to process truncated episodes since they typically are so noisy they’re not worth saving. I’m wondering if anyone has built a check in their postprocessing script to compare the recording length with the length in the EPG?

I’m guessing I could find a tool to tell me the length of the file (ffprobe or mediainfo) but I’ve no idea how to find the length from the EPG.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.