combine.fm icon indicating copy to clipboard operation
combine.fm copied to clipboard

Match failing for some albums between spotify and google music

Open renatolond opened this issue 7 years ago • 6 comments

I've had this issue with two albums I've tried, and they don't seem to have anything in common. The album exists in both services, but match.audio seems to not be able to match them.

The first was the get down soundtrack: https://match.audio/spotify/album/0UqBp39R5ARECBnxnVk25l https://match.audio/google/album/Bzudnfixxsk647fqpbftbclgety

The second is from a Brazilian duo: https://match.audio/spotify/album/4P09BJFkwTM9QW89RvyQy5 https://match.audio/google/album/Bfybhxorsk3m3g7xooyihpwghri

But looking at other albums currently at the recently shared, it seems they share the same issue.

renatolond avatar Apr 24 '17 17:04 renatolond

Thanks for the report. It looks like Google messed with the API, but it should be resolved now. I'll take a look at filling in the missing data it produced.

kudos avatar May 06 '17 20:05 kudos

Ok, it looks like I introduced a lot of bugs around track matching when I switched data stores. I've pushed some fixes and matching improvements today. I more than welcome any improvements with accompanying tests :)

Your second set of links are interesting. At first I thought that it was the diacritic causing problems, but it's that exact album that inexplicably doesn't work, test it here: https://developer.spotify.com/web-api/console/get-search-item/?q=album:Fica%20artist:Anavit%C3%B3ria&type=album. Seems like a bug in Spotify's API to me.

kudos avatar May 07 '17 19:05 kudos

iTunes has a similar problem with Fica as Spotify. If I have some way of knowing I can get iTunes to check the Brazilian store it can find it: https://itunes.apple.com/search?term=Anavit%C3%B3ria%20%20Fica&media=music&entity=musicTrack versus https://itunes.apple.com/br/search?term=Anavit%C3%B3ria%20%20Fica&media=music&entity=musicTrack

Spotify should return content from all regions unless you tell it otherwise though.

kudos avatar May 07 '17 20:05 kudos

OK, I'm wrong. Spotify return what markets content is available in alongside the content, but will search the US market by default.

@renatolond I'll spend a little more time investigating, but If you've any ideas on solving this let me know.

kudos avatar May 07 '17 20:05 kudos

Spotify issue here: https://github.com/spotify/web-api/issues/194

In the meantime I'm now iterating over several markets when looking for matches.

kudos avatar May 07 '17 21:05 kudos

I always forget about the region differences, thanks a lot for the investigation :) I'll take a look on your changes and see if I can help with tests and improvements ;)

renatolond avatar May 08 '17 07:05 renatolond