entriphy / sp-playcount-librespot

Modification of librespot-java to provide play count info from Spotify
Apache License 2.0
119 stars 16 forks source link

Artist info stops including track listing after first 8 albums #12

Closed ghost closed 1 year ago

ghost commented 4 years ago

Describe the bug When querying the artistInfo endpoint, only the first 8 albums include the list of tracks, after that it stops including them.

To Reproduce

  1. Query https://api.t4ils.dev/artistInfo?artistid=74KM79TiuVKeVCqs8QtB0B
  2. Look through data.releases.albums.releases and data.releases.singles.releases
  3. Notice how the discs attribute disappears starting from the single called "On My Way"

Expected behavior This info should be included for every track if possible. I'm building a shortcut for iOS and would like to avoid the overhead of calling albumPlayCount individually for each album.

Screenshots/Stracktraces/Logs N/A

Version/Commit Whatever the current version on https://api.t4ils.dev is at the time this issue was created. Version used or commit pulled if compiled locally.

jpgrovy commented 1 year ago

This appears to be the same bug I just listed or part of the same bug… playcounts are missing as well. It happens to singles if there are less than 8 albums. Any ideas how to fix this?

entriphy commented 1 year ago

This is not a bug with this project but rather an issue with what Spotify returns from their endpoint. Unfortunately, you'd have to get the album ID from each album that isn't showing the play count and use the albumPlayCount endpoint.