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 "Bündel gespeichert. Auf dem Daemon-Rechner:"
msgid "Could not export settings"
msgstr "Einstellungen konnten nicht exportiert werden"
# Share menu Song.link/Album.link toasts (#514)
msgid "Fetching Song.link..."
msgstr "Song.link wird abgerufen..."
msgid "Fetching Album.link..."
msgstr "Album.link wird abgerufen..."
msgid "Link copied"
msgstr "Link kopiert"
msgid "Failed to copy link"
msgstr "Link konnte nicht kopiert werden"