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

Parallel download #288

Closed
wants to merge 5 commits into from
Closed

Conversation

Aayush2492
Copy link
Contributor

What does this PR do?
I had previous made a PR to accept multiple song/playlist links to be passed in terminal. The songs in the playlist were downloaded sequentially. This PR is meant to parallelise the process using multiprocessing library in python. Download time has reduced for the sample playlists I tried.

The model can be improved by dividing the work equally among on cores using song duration as load.

@Aayush2492 Aayush2492 closed this Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant