8000 feat(Tidal): Show a warning if API returns not all tracks for the release by phw · Pull Request #86 · kellnerd/harmony · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(Tidal): Show a warning if API returns not all tracks for the release #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

phw
Copy link
Collaborator
@phw phw commented Feb 20, 2025

Show a warning if Tidal returns not all tracks for a release. The numberOfItems attribute will still hold the correct track count, but depending on region Tidal might not return all tracks.

See also #65. Not sure if this PR can be considered a full solution, butt it definitely helps to handle this situation.

E.g. if you query https://tidal.com/album/4670631 with region set to GB or US than only 10 of 15 tracks are returned. With region set to DE or FR it returns even only 6 of 15 tracks.

Screenshot 2025-02-20 at 22-00-42 Greatest Hits – Harmony

Copy link
Owner
@kellnerd kellnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I don't think there is anything else we can do.
Looks good to me, I've checked that the count is correct for multi-disc releases and played a bit with the wording of the message.

…ease.

See also kellnerd#65

Update providers/Tidal/v2/lookup.ts

Co-authored-by: David Kellner <52860029+kellnerd@users.noreply.github.com>
@phw phw force-pushed the tidal-warn-missing-tracks branch from a17b98a to bd071b8 Compare February 20, 2025 21:33
@phw
Copy link
Collaborator Author
phw commented Feb 20, 2025

@kellnerd Looks good. I squashed this change into the original commit.

@kellnerd kellnerd added feature New feature or request Tidal labels Feb 20, 2025
@kellnerd kellnerd merged commit bd071b8 into kellnerd:main Feb 20, 2025
2 checks passed
@phw phw deleted the tidal-warn-missing-tracks branch February 20, 2025 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request Tidal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0