[mythtv-commits] [MythTV/mythtv] b41309: Services API: Add IgnoreLiveTV/IgnoreDeleted to Ge...

billmeek noreply at github.com
Sat Jul 31 15:43:07 UTC 2021

  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: b41309b21d5490e9ac0ab8997d1050d82773117c
  Author: Bill Meek <billmeek at mythtv.org>
  Date:   2021-07-31 (Sat, 31 Jul 2021)

  Changed paths:
    M mythtv/libs/libmyth/programinfo.cpp
    M mythtv/libs/libmyth/programinfo.h
    M mythtv/libs/libmythservicecontracts/services/dvrServices.h
    M mythtv/programs/mythbackend/services/dvr.cpp
    M mythtv/programs/mythbackend/services/dvr.h

  Log Message:
  Services API: Add IgnoreLiveTV/IgnoreDeleted to GetRecordedList

Add optional boolean IgnoreLiveTV and IgnoreDeleted
parameters to Dvr/GetRecordedList.

Error checking added in case RecGroup is set to either
LiveTV or Deleted. In case this is backported to v31,
set the Ignore* parameter to false and log the error.
Better than throwing an error because that could change
the existing response (unlikely, but true).

Also modifies LoadFromRecorded() that does the actual SQL.

Will be manually added to the V2 API later.

More information about the mythtv-commits mailing list