Bug #6108
openStarts recording before receiving EPG running flag
0%
Description
Recently moved to 4.3 latest branch after using 4.2 for many years. I use the "Use EPG running state" turned on for DVR recordings. Recording TV in the UK over DVB-T.
I have 30 seconds extra warming up time and 5 mins pre-recording padding configured in the DVR profile.
I've noticed that sometimes TVH will commence recording to file for a short period of time (5 - 10 secs) and then the status would change from "Running" back to "Waiting for EPG running flag". Then later when the EPG running flag is detected TVH starts recording but to a new filename.
States seem to go:
- Scheduled for recording
- Running (with filename: /recordings/Channel 4 HD/2021-12-13-18-00-The Simpsons.ts)
- Waiting for EPG running flag (with filename: /recordings/Channel 4 HD/2021-12-13-18-00-The Simpsons.ts)
- Running (with filename: /recordings/Channel 4 HD/2021-12-13-18-00-The Simpsons-1.ts)
- Completed OK (with filename: /recordings/Channel 4 HD/2021-12-13-18-00-The Simpsons-1.ts)
Note the different filenames for the last two states.
After the recording is completed and looking at the filesystem the two files are sized:
2021-12-13-18-00-The Simpsons.ts - 5,730,804 bytes
2021-12-13-18-00-The Simpsons-1.ts - 767,236,648 bytes
This is unexpected behaviour and different to TVH 4.2 (latest) where it would go straight from "Scheduled for recording" to "Waiting for EPG running flag".
Is this a bug or expected?
Log file:
2021-12-13 17:52:21.909 [ INFO] dvr: entry 05c8806833368d28c8ccb5c778bbd320 "The Simpsons" on "Channel 4 HD" starting at 2021-12-13 17:54:30, with broadcast id "crid://www.channel4.com/72304/017", scheduled for recording by "172.17.0.9" 2021-12-13 17:54:30.005 [ INFO] dvr: "The Simpsons" on "Channel 4 HD" recorder starting 2021-12-13 17:54:30.035 [ INFO] subscription: 0016: "DVR: The Simpsons" subscribing on channel "Channel 4 HD", weight: 200, adapter: "HDHomeRun DVB-T Tuner #0 (192.168.90.33)", network: "DVB-T Network", mux: "618MHz", service: "Channel 4 HD", profile="pass", username="" 2021-12-13 17:55:00.060 [ INFO] dvr: /recordings/Channel 4 HD/2021-12-13-18-00-The Simpsons.ts from adapter: "HDHomeRun DVB-T Tuner #0 (192.168.90.33)", network: "DVB-T Network", mux: "618MHz", provider: "<N/A>", service: " Channel 4 HD" 2021-12-13 17:55:00.060 [ INFO] dvr: # type lang resolution aspect ratio sample rate channels 2021-12-13 17:55:00.060 [ INFO] dvr: 1 H264 ? ? 2021-12-13 17:55:00.060 [ INFO] dvr: 2 AAC-LATM eng 96000 ? 2021-12-13 17:55:00.060 [ INFO] dvr: 3 AAC-LATM eng 96000 ? 2021-12-13 17:55:00.060 [ INFO] dvr: 4 DVBSUB eng 2021-12-13 18:02:13.603 [ INFO] dvr: /recordings/Channel 4 HD/2021-12-13-18-00-The Simpsons-1.ts from adapter: "HDHomeRun DVB-T Tuner #0 (192.168.90.33)", network: "DVB-T Network", mux: "618MHz", provider: "<N/A>", service: "Channel 4 HD" 2021-12-13 18:02:13.603 [ INFO] dvr: # type lang resolution aspect ratio sample rate channels 2021-12-13 18:02:13.603 [ INFO] dvr: 1 H264 ? ? 2021-12-13 18:02:13.603 [ INFO] dvr: 2 AAC-LATM eng 96000 ? 2021-12-13 18:02:13.603 [ INFO] dvr: 3 AAC-LATM eng 96000 ? 2021-12-13 18:02:13.603 [ INFO] dvr: 4 DVBSUB eng 2021-12-13 18:29:10.484 [ INFO] subscription: 0016: "DVR: The Simpsons" unsubscribing from "Channel 4 HD", username="" 2021-12-13 18:29:10.580 [ INFO] dvr: "The Simpsons" on "Channel 4 HD": End of program: Completed OK