Skip to content
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

Improve Async Behavior #7

Open
ancientjpeg opened this issue Mar 20, 2024 · 0 comments
Open

Improve Async Behavior #7

ancientjpeg opened this issue Mar 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ancientjpeg
Copy link
Owner

Some parts of the data fetching code are horrifically slow because they're performed sequentially instead of asynchronously. The most notable holdouts are as follows:

Apple Music playlist fetching

Because the API prevents fetching full song lists as extensions of a call to the playlists endpoint when fetching multiple playlists, a new request has to be made for each playlist to get its track listings. This is currently done sequentially, but with a very minor lift these tasks could be performed in parallel.

@ancientjpeg ancientjpeg self-assigned this Mar 20, 2024
@ancientjpeg ancientjpeg added this to the alpha release milestone Mar 24, 2024
@ancientjpeg ancientjpeg added the enhancement New feature or request label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant