So you are saying that the returned mediaItems array will only ever contain one match?
I built a custom catalog for a client that has about 50,000 original audio tracks in its inventory. The point was to help identify duplicates, as some audio has been renamed and reloaded into the media management system over the years for one reason or another.
The hope was that shazamKit would return an array of matches when searching with a single querySignature, IF there were multiple identical tracks in the inventory... There is at least one case where three identical audio tracks have been added, but as the OP states, the returned 'Array' only contains a single match, not all three.
Is there really no way to get - (void)matchSignature:(SHSignature*)signature toreturn an array of ALL matches in the catalog??
Thanks!
Post
Replies
Boosts
Views
Activity
Thanks - I'll do that. My current workaround involves running the entire library through Shazam, and storing the result of each match that returns a different fileID (the metadata used) in a table, and then walking the table searching for other references to each match... I don't have a great deal of confidence that it's 100%, but it does generate many sets of duplicate audio tracks - even one with 4 members!
Thanks again.
Check out the documentation for SHCatalog... there's a property called minimumQuerySignatureDuration that might help...