Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

Deezer artist album lookup truncated

$
0
0
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. 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.

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>