[mythtv-commits] [MythTV/mythtv] 7087bc: Services: Dvr/GetSavedBookmark - better handling f...

Peter Bennett noreply at github.com
Tue Nov 12 20:00:07 UTC 2019


  Branch: refs/heads/fixes/30
  Home:   https://github.com/MythTV/mythtv
  Commit: 7087bc91cf5cfc18da2a2ef4059c5a64f07d4ce8
      https://github.com/MythTV/mythtv/commit/7087bc91cf5cfc18da2a2ef4059c5a64f07d4ce8
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M mythtv/programs/mythbackend/services/dvr.cpp

  Log Message:
  -----------
  Services: Dvr/GetSavedBookmark - better handling for when there is no seek table

If there is no seektable, GetSavedBookmark with duration option is not able to
calculate the duration. In that case it was returning a garbage value
(from an uninitialized variable). Changed so it will return -1 in that case.

(cherry picked from commit 36cf11e9f6941fcd3bfba7acc369ca008b86db65)


  Commit: 1c86e4083953a19de06e3f0937b563b2c7fd079c
      https://github.com/MythTV/mythtv/commit/1c86e4083953a19de06e3f0937b563b2c7fd079c
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M mythtv/libs/libmythservicecontracts/services/mythServices.h
    M mythtv/programs/mythbackend/scheduler.cpp
    M mythtv/programs/mythbackend/scheduler.h
    M mythtv/programs/mythbackend/services/myth.cpp
    M mythtv/programs/mythbackend/services/myth.h

  Log Message:
  -----------
  Services: Add new DelayShutdown method

DelayShutdown can be called by an external process that is using
the services, to prevent an idle shutdown while it is running.
The DelayShutdown service delays idle shutdown by 5 minutes.
External processes must call it every 5 minutes or less to ensure
the backend does not shut down.

(from ae82a5a58f)


Compare: https://github.com/MythTV/mythtv/compare/2855e2967209...1c86e4083953


More information about the mythtv-commits mailing list