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

kmdewaal noreply at github.com
Sat Feb 11 17:44:56 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 55a7d8293004b0cadb921a383b44a0fb9954a287
      https://github.com/MythTV/mythtv/commit/55a7d8293004b0cadb921a383b44a0fb9954a287
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2023-02-09 (Thu, 09 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.


  Commit: a595f6c52cb73c3aa98f5ef0be1087cd2dc996fe
      https://github.com/MythTV/mythtv/commit/a595f6c52cb73c3aa98f5ef0be1087cd2dc996fe
  Author: kmdewaal <klaas at kldo.nl>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M mythtv/libs/libmythtv/channelutil.cpp
    M mythtv/libs/libmythtv/channelutil.h
    M mythtv/programs/mythbackend/servicesv2/v2channel.cpp
    M mythtv/programs/mythbackend/servicesv2/v2channel.h
    M mythtv/programs/mythbackend/servicesv2/v2programAndChannel.h
    M mythtv/programs/mythbackend/servicesv2/v2serviceUtil.cpp

  Log Message:
  -----------
  Merge branch 'MythTV:master' into master


  Commit: c9c1417b3d1025aecef832e033eb04558309cf3d
      https://github.com/MythTV/mythtv/commit/c9c1417b3d1025aecef832e033eb04558309cf3d
  Author: kmdewaal <kdewaal at mythtv.org>
  Date:   2023-02-11 (Sat, 11 Feb 2023)

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

  Log Message:
  -----------
  Merge pull request #716 from kmdewaal/master

Send REC_PENDING event before recording starts


Compare: https://github.com/MythTV/mythtv/compare/4f01f0ad0cf1...c9c1417b3d10


More information about the mythtv-commits mailing list