Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Fetch Tracks separately from Releases #46

Open
xeruf opened this issue Jun 17, 2019 · 3 comments
Open

Fetch Tracks separately from Releases #46

xeruf opened this issue Jun 17, 2019 · 3 comments
Labels
back-end Stuff you can't see, but operates in the background enhancement New feature

Comments

@xeruf
Copy link
Owner

xeruf commented Jun 17, 2019

Right now, it fetches the Tracks for each Release. But that leads to thousands of API calls with ~4000 Tracks being fetched, even though there are only ~2500. We could thus reduce the load on the client greatly if we would fetch them separately and then associate them.

@xeruf xeruf added back-end Stuff you can't see, but operates in the background enhancement New feature labels Jun 20, 2019
@defvs
Copy link
Collaborator

defvs commented Apr 12, 2020

Tracks are now directly linked with releases with API v2 and there is no way to not download them separately (like a "browse" for tracks), as you need to call the release endpoint to get the tracks for that release.

@xeruf
Copy link
Owner Author

xeruf commented Apr 14, 2020

Does that mean the same track could appear with multiple id's if it is part of multiple releases?

@defvs
Copy link
Collaborator

defvs commented Apr 14, 2020

I'll have to check if same tracks in different releases have same or different IDs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
back-end Stuff you can't see, but operates in the background enhancement New feature
Projects
None yet
Development

No branches or pull requests

2 participants