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

Use multiprocressing.Pool to massively parallelise download using multiple cores #290

Closed

Conversation

Aayush2492
Copy link
Contributor

Changed the download_song() function to handle only one song.
Appended all the song info from multiple playlists/album/tracks URL passed into a params_list list.
Called the function download_song() on the params list parallely using multiprocessing.Pool.

Reduced the songs download time massively even when multiple playlists URL passed.

.cache Outdated Show resolved Hide resolved
Copy link
Owner

@SathyaBhat SathyaBhat left a comment

Choose a reason for hiding this comment

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

The tests are failing and DeepSource is complaining about failing cases, can you look at them and resolve them?

@SathyaBhat
Copy link
Owner

superceded by #300

@SathyaBhat SathyaBhat closed this Oct 10, 2022
@Aayush2492 Aayush2492 deleted the pool-multiple-download branch July 22, 2023 06:30
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.

2 participants