The operation couldn’t be completed. (com.apple.ShazamKit error 300.)
I get this error when I try to add multiple shazamcatalogs on a single SHCustomCatalog
. The fact that the operation is called add(from:)
and not 'load' lets me suggest that it's meant to use that way. Am I wrong?
And yes, both work work if I just add one at a time.
let catalog = SHCustomCatalog()
do {
try catalog.add(from: url1)
try catalog.add(from: url2)
{...}
} catch {...}
.
.
Also, fun fact: I was working on a ShazamKit myself before dubDub and it's a really fascinating topic and so awesome to see how well it works, great job! 👏