I noticed that for artists with many albums, the album list is
truncated. This is because the Deezer api serves the result in chunks. I
could verify this behavior using Deezer's 'API explorer'
(https://developers.deezer.com/api/explorer?url=artist/1576343). The
result you get is like this:
Code:
--------------------
{
"data": [ ... ]
"total": 56,
"next": "https://api.deezer.com/artist/1576343/albums?index=25"
}
--------------------
And indeed the "next" URL serves the remaining albums. I tried playing
with additional "limit=" arguments but did not succeed to get any more
entries. Even worse, with limit= the "next" key disappeared. So it seems
to me that the lookup function would need to follow the "next" chain
until the end.
Interestingly, even Deezer's own site exhibits this "feature". If you
look up an artist like this, you get the initial chunk shown as "albums"
and the next set as "More albums". I don't really get the logic behind
this but as of now those albums can't be browsed in SB.
LMS 8.1.2 - 1613284909 on Synology DS115 (ARM); 3 Radios
------------------------------------------------------------------------
xrad's Profile: http://forums.slimdevices.com/member.php?userid=71399
View this thread: http://forums.slimdevices.com/showthread.php?t=114125
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss