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

@@ -4580,3 +4580,16 @@ msgstr "Bundel opgeslagen. Op de daemon-machine:"
msgid "Could not export settings"
msgstr "Kan instellingen niet exporteren"
# Share menu Song.link/Album.link toasts (#514)
msgid "Fetching Song.link..."
msgstr "Song.link ophalen..."
msgid "Fetching Album.link..."
msgstr "Album.link ophalen..."
msgid "Link copied"
msgstr "Link gekopieerd"
msgid "Failed to copy link"
msgstr "Kopiëren van link mislukt"