[mythtv-commits] [MythTV/mythtv] a803b1: Send REC_PENDING event before recording starts

kmdewaal noreply at github.com
Mon Feb 13 17:50:57 UTC 2023


  Branch: refs/heads/fixes/33
  Home:   https://github.com/MythTV/mythtv
  Commit: a803b198a84e04aa9a83dee5047193e431e9b3ed
      https://github.com/MythTV/mythtv/commit/a803b198a84e04aa9a83dee5047193e431e9b3ed
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M mythtv/programs/mythbackend/scheduler.cpp

  Log Message:
  -----------
  Send REC_PENDING event before recording starts

Fix the logic that sends the REC_PENDING event.
- REC_PENDING event is sent always before the REC_STARTED.
- REC_PENDING event is sent at 120, 90, 60 and 30 seconds before the start of the recording.
- Start of the recording is the scheduled program start time plus the RecordPreRoll setting value.
- When a recording is scheduled to start recording immediately then there is
  one REC_PENDING event with 0 seconds immediately followed by the REC_STARTED event.
- The setting WakeUpThreshold specifies how early the slave backends are signaled to start
  before the recording is started. This setting is used as configured, but now with a minimum
  value of RecordPreRoll plus 120 seconds so that there is always time for the REC_PENDING events.

(cherry picked from commit 55a7d8293004b0cadb921a383b44a0fb9954a287)




More information about the mythtv-commits mailing list