fix(share): resolve Song.link/Album.link via Deezer ISRC/UPC (#514)

The 2.0 port kept only the Odesli-by-URL path, which rejects Qobuz URLs
(400 could_not_resolve_entity), so album.link/Song.link never resolved
while the raw Qobuz link still copied fine. Restore the Tauri behaviour:
look the track up on Deezer by ISRC (album by UPC, with a leading-zero
retry) and build song.link/d/{id} / album.link/d/{id} from the match.

cc
This commit is contained in:
vicrodh committed 2026-07-16 20:37:51 -06:00
1 parent 33f91adcca
commit 134eddc1ae
10 files changed
+248 -11

No files matched your search

@@ -4568,3 +4568,16 @@ msgstr "Ensemble enregistré. Sur la machine du démon :"
msgid "Could not export settings"
msgstr "Impossible d'exporter les réglages"
# Share menu Song.link/Album.link toasts (#514)
msgid "Fetching Song.link..."
msgstr "Récupération du Song.link..."
msgid "Fetching Album.link..."
msgstr "Récupération de l'Album.link..."
msgid "Link copied"
msgstr "Lien copié"
msgid "Failed to copy link"
msgstr "Échec de la copie du lien"