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

question: Recognizing multiple songs at the same time #37

Closed
juanfrilla opened this issue Nov 9, 2022 · 3 comments
Closed

question: Recognizing multiple songs at the same time #37

juanfrilla opened this issue Nov 9, 2022 · 3 comments

Comments

@juanfrilla
Copy link

juanfrilla commented Nov 9, 2022

Hello, is it possible to recognize multiple songs with the method recognize_song('dora.mp3') at the same time?

I have some mp3s files downloaded that I want to identify its name, it is possible to make this task asynchronously or do I need to make it one by one as the for loop goes on.
My goal is to speed up the process of identifying the whole list of mp3s files. I've tried this task with threads and with asyncio but there's no such a difference in time.

Regards

@dotX12
Copy link
Collaborator

dotX12 commented Nov 11, 2022

Unfortunately it is not possible to transfer multiple songs for identification, shazam supports the identification of one song per operation.
It is possible that multiprocessing can help you if you have a very large set of songs.

@juanfrilla
Copy link
Author

thank you very much @dotX12

@dotX12 dotX12 closed this as completed Nov 20, 2022
@dotX12
Copy link
Collaborator

dotX12 commented Feb 23, 2024

Fixed in 0.5.0.
See comment: #76 (comment)

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

No branches or pull requests

2 participants