Opened 12 years ago

Closed 10 years ago

#10828 closed Bug Report - General (Fixed)

ServicesAPI - Dvr/GetRecordedList count parameter not used correctly

Reported by: david.whyte@… Owned by: dblain
Priority: minor Milestone: 0.28
Component: Bindings - XML/JSON Version: 0.25
Severity: medium Keywords:
Cc: Ticket locked: no

Description

On 0.25, calls to Dvr/GetRecordedList? with a 'count' parameter do not return the actual number of recordings requested. It seems that deleted recordings are included in the counter, but don't get returned. (I.e. if I ask for the first 20 recordings, but 3 of the first 20 have been deleted (based on date order), then I only get 17 shows actually returned).

I think this changeset introduced the issues https://github.com/MythTV/mythtv/commit/8a3ab526a but I don't quite understand why deleted recordings are being excluded. Surely, the fact that they are in the 'deleted' recording group is enough of an indication to a caller that they can be excluded if their application so wishes.

I believe the correct fix is to include deleted programs in the returned detail (i.e. revert the change above) and allow the caller to filter them out if they so wish.

Change History (1)

comment:1 Changed 10 years ago by paulh

Milestone: unknown0.28
Resolution: Fixed
Status: newclosed

This has been fixed in current master

Note: See TracTickets for help on using tickets.