Opened 10 years ago

Closed 10 years ago

#12279 closed Bug Report - General (Invalid)

Services APi GetRecordedList ignores StartIndex and Count

Reported by: phil.brady@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - Services API - Backend Version: 0.27.2
Severity: low Keywords: API GetRecordedList
Cc: Ticket locked: no

Description

Services API for GretRecordedList? does not respect either Startindex or Count. It always assumes Startindex of zero and maximum count and so returns all recordings. eg: http://192.168.1.67:6544/Dvr/GetRecordedList?StartIndex=10Count=1&Descending=true

returns: <?xml version="1.0" encoding="UTF-8"?> <ProgramList? xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" serializerVersion="1.1"> <StartIndex?>0</StartIndex?> <Count>566</Count> <TotalAvailable?>566</TotalAvailable?> <AsOf?>2014-09-22T15:52:43Z</AsOf?> <Version>0.27.20140719-1</Version> <ProtoVer?>77</ProtoVer?> <Programs> <Program>

[.... 566 program records follow ... ]

Mythbuntu 14.04 Mythtv 0.27.2.

Change History (1)

comment:1 Changed 10 years ago by stuartm

Resolution: Invalid
Status: newclosed

You're missing an & (ampersand) between the 'StartIndex?' value and 'Count'

Note: See TracTickets for help on using tickets.