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

@@ -4582,3 +4582,16 @@ msgstr "Набор сохранён. На машине демона:"
msgid "Could not export settings"
msgstr "Не удалось экспортировать настройки"
# Share menu Song.link/Album.link toasts (#514)
msgid "Fetching Song.link..."
msgstr "Получение Song.link..."
msgid "Fetching Album.link..."
msgstr "Получение Album.link..."
msgid "Link copied"
msgstr "Ссылка скопирована"
msgid "Failed to copy link"
msgstr "Не удалось скопировать ссылку"