Post

Replies

Boosts

Views

Activity

Shazam CLI and signatureIDs
How best to access the signatureID from a signature? Our library of original music contains around 50,000 tracks and grows by about 3,000 tracks a year. I use a loop to process all these tracks and generate a shazamcatalog - which I then use to detect tracks with duplicate audio chunks. The tracks have a single meta-data tag, our library fileID. I would like to be able to 'remove' tracks from the catalog, so from what I gather, I'll need the signatureID for each track. But the only way to get the signatureID (that I see in the shazam man pages) is to use either the 'display' or the 'export' command on the catalog. With 50,000 signatures in the catalog, this is not very useful! I can loop through these to grab the csv files, which seem to have the signatureID as the filename, and the fileID tag inside, and from this I can create a sqlite table to look up signatureIDs for fileIDs. But I have to regenerate after updating shazam with new tracks. Is there an easier way that I'm missing? Some way to get the signatureID for a signature without getting the entire catalog dump? (I store the generated signature files to use when matching). Any help much appreciated
0
0
834
Oct ’22