[GH-ISSUE #12] Artist info stops including track listing after first 8 albums #12

Closed
opened 2026-02-28 14:28:18 +03:00 by kerem · 2 comments
Owner

Originally created by @ghost on GitHub (Aug 24, 2020).
Original GitHub issue: https://github.com/entriphy/sp-playcount-librespot/issues/12

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.

Originally created by @ghost on GitHub (Aug 24, 2020). Original GitHub issue: https://github.com/entriphy/sp-playcount-librespot/issues/12 **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.
kerem 2026-02-28 14:28:18 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jpgrovy commented on GitHub (Jun 12, 2023):

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?

<!-- gh-comment-id:1587261941 --> @jpgrovy commented on GitHub (Jun 12, 2023): 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?
Author
Owner

@entriphy commented on GitHub (Jun 20, 2023):

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.

<!-- gh-comment-id:1599291797 --> @entriphy commented on GitHub (Jun 20, 2023): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sp-playcount-librespot#12
No description provided.