shazamio / ShazamIO

🎵 Is a free asynchronous library from reverse engineered Shazam API written in Python 3.8+ with asyncio and aiohttp.
MIT License
490 stars 69 forks source link

Tracklist from a long audio sample #28

Closed SimCo92 closed 2 years ago

SimCo92 commented 2 years ago

Hi! First of all thanks a lot for making this.. Did you consider to use as input a long audio sample and get back the tracklist? Do you have any idea on how to do it?

dotX12 commented 2 years ago

@SimCo92, Greetings, need write your service for this task. this task is not solved with the help of shazam, because it will not be able to give 5-10-20 tracks from one large file.

you need to independently cut the file into pieces of 15 seconds (for example) and send it in a loop. And then take unique ones and here is your decision.

SimCo92 commented 2 years ago

@dotX12 Do you think this functionality can be implemented here or it is out of the scope and should be kept separated from this python library?

dotX12 commented 2 years ago

@dotX12 Do you think this functionality can be implemented here or it is out of the scope and should be kept separated from this python library?

I think this is out of scope for Shazam (since shazam doesn't have this functionality).