Mailing List Archive

[MythTV/mythtv] b41309: Services API: Add IgnoreLiveTV/IgnoreDeleted to Ge...
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: b41309b21d5490e9ac0ab8997d1050d82773117c
https://github.com/MythTV/mythtv/commit/b41309b21d5490e9ac0ab8997d1050d82773117c
Author: Bill Meek <billmeek@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.


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits