> I haven't fully debugged this. But I don't think this is Spotty
> specific, as FWICT Spotty would always request the same number of
> results.
>
Thanks for taking the time to answer,
I do think it's specific to the search request of spotty. We are using
the same paging for all requests, and they all return count as "Number
of results returned by the query" or "The number of items available at
the selected level" as stated in the CLI docs. Of course there may be
exceptions which we haven't heard of.
Here is an example from a Deezer search:
Request
Code:
--------------------
{
"clientId": "d39f563f",
"data": {
"request": [
"00:04:20:2e:3c:31",
[
"myapps",
"items",
"0",
"1",
"search:Love",
"useContextMenu:1",
"menu:myapps",
"item_id:fbf3b068.0.0.2",
"cachesearch:1"
]
],
"response": "/d39f563f/slim/request/7"
},
"channel": "/slim/request",
"id": "30"
}
--------------------
Response
Code:
--------------------
{
"channel": "/d39f563f/slim/request/7",
"data": {
"window": {
"windowStyle": "icon_list"
},
"count": 100,
"base": { ... },
"offset": 0,
"item_loop": [ ... ],
"title": "Søgeresultater for Love"
},
"ext": {
"priority": ""
},
"id": "30"
}
--------------------
The issue of whether this is a good way to fetch items is relevant but I
don't think it's related to this issue; That the spotty search request
does not return the number of available items in the count field. There
is already an issue '#201'
(https://github.com/nikclayton/android-squeezer/issues/201) regarding
Squeezer page size. It can be debated there.
Anyway as this does not seem to be fixed quickly, I will hurry up and go
and prepare a workaround in the Squeezer app :)
/Kurt
------------------------------------------------------------------------
minamanda's Profile: http://forums.slimdevices.com/member.php?userid=63054
View this thread: http://forums.slimdevices.com/showthread.php?t=112972
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins