mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-04-01 17:40:32 +02:00
SongLink can return incorrect track IDs (e.g. a different track from the same album). Qobuz already had verification via qobuzTrackMatchesRequest. This adds equivalent verification for Tidal and Deezer using a shared trackMatchesRequest() helper in title_match_utils.go that checks artist, title, and duration. Mismatched SongLink/ISRC results are now rejected so the wrong audio is never embedded with Spotify metadata.