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

Search playlists and songs async #55

Open
trevren11 opened this issue Feb 7, 2023 · 1 comment
Open

Search playlists and songs async #55

trevren11 opened this issue Feb 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@trevren11
Copy link

Did you search the existing issue to make sure this is not a duplicate?
Yes

Is your feature request related to a problem? Please describe.
It would be nice if all of the requests could be done asynchronously, instead of going in a nice order, it could go through all the playlists async, and then for each song do the request async. This would speed up the time to do the requests a lot I would assume, even with only ~20 threads running

Describe the solution you'd like
In the playlists loops spin up new threads, in the search loops spin up other threads. Even just one or the other would be really useful

Describe alternatives you've considered
None

Additional context
None

@trevren11 trevren11 added the enhancement New feature or request label Feb 7, 2023
@trevren11
Copy link
Author

I got the async calls working, but I think I will just make it optional, it goes really fast, but it does take up a fair bit of processing, I am not running it in a docker container but rather occasionally so I might make a pull request to modify this all at once

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