Opened 6 years ago

Closed 5 years ago

#12516 closed Bug Report - General (Fixed)

GetRecodedList API call - inconsistent StartIndex

Reported by: Phil Brady <phil.brady@…> Owned by: Bill Meek
Priority: minor Milestone: 0.28
Component: MythTV - General Version: 0.27.4
Severity: low Keywords: GetRecordedList, Services API, StartIndex
Cc: Ticket locked: no


With the GetRecordedList? API call, StartIndex?=0 and StartIndex?=1 return the same data. Thus code which grabs the data in chunks eg

StartIndex?=0&Count=100 StartIndex?=100&Count=100

will have a duplicate returned because he first call will return 1 to 100 inclusive, the second 100 to 199. ie indexing starts at 1 not zero, unlike other calls eg GetChannelL

Change History (3)

comment:1 Changed 5 years ago by paulh

Owner: set to Bill Meek
Status: newassigned

Bill do you want to look at this one?

comment:2 Changed 5 years ago by Bill Meek

Status: assignedinfoneeded

Phil, is this still an isssue? Consider the following:


I get recordings (A and B), (B and C) then (C and D) respectively. That's the result I'd expect.

I also tried using StartIndex=0 and 100 with Count=100 and the result didn't have an overlap (the title of the 100th and 101st were the same, but the subtitles were different in my case.)

comment:3 Changed 5 years ago by Bill Meek

Milestone: unknown0.28
Resolution: Fixed
Status: infoneededclosed
Note: See TracTickets for help on using tickets.