Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#12461 closed Bug Report - General (fixed)

Channel Services API - GetChannelInfoList

Reported by: mike.bibbings@… Owned by: Bill Meek
Priority: minor Milestone: 0.28
Component: MythTV - Services API - Backend Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

StartIndex? and Count parameters are not being used in GetChannelInfoList? resulting in more data being returned than requested, which in pvr.mythtv addon for Kodi can cause a hang with multiples of exactly 100 channels.

See attached file which is the result of

http://192.168.0.20:6544/Channel/GetChannelInfoList?SourceID=5&OnlyVisible=true&Details=false&StartIndex=1&Count=2

To replicate the bug in a browser

http://<backendIP>:6544/Channel/GetChannelInfoList?StartIndex?=1&Count=2&SourceID=<n>&OnlyVisible?=true&Details=false

Attachments (1)

ChannelInfoList-result (19.1 KB) - added by mike.bibbings@… 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by mike.bibbings@…

Attachment: ChannelInfoList-result added

comment:1 Changed 9 years ago by Bill Meek <bmeek@…>

Owner: set to Bill Meek <bmeek@…>
Resolution: fixed
Status: newclosed

In 03dea2e2c012440ccd7abee290bf4b95506b7f24/mythtv:

Services API: Fix Count & StartIndex? for GetChannelInfoList?

Allows Count and StartIndex? combinations to return a subset of
channels for a single source. Note that StartIndex? is a zero
based parameter. Getting blocks of 100 channels would be done
with:

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

Fixes #12461

comment:2 Changed 9 years ago by Bill Meek

Milestone: unknown0.28

comment:3 Changed 7 years ago by Bill Meek

Owner: changed from Bill Meek <bmeek@…> to Bill Meek
Note: See TracTickets for help on using tickets.