[mythtv-commits] Ticket #10828: ServicesAPI - Dvr/GetRecordedList count parameter not used correctly

MythTV noreply at mythtv.org
Tue Jun 12 07:13:47 UTC 2012


#10828: ServicesAPI - Dvr/GetRecordedList count parameter not used correctly
--------------------------------------+---------------------
     Reporter:  david.whyte@…         |      Owner:  dblain
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  Bindings - XML/JSON   |    Version:  0.25
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+---------------------
 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.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10828>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list