Remove Songlink share option from PlaylistDetailView
Odesli/Songlink only works with tracks and albums (using ISRC/UPC identifiers). Playlists are user-generated collections without universal identifiers, so cross-platform matching is not possible. Keep only Qobuz share link.
This commit is contained in:
1 parent
bdb49f65bb
commit
0de662f987
1 file changed
-8
@@ -911,13 +911,6 @@
|
||||
const url = `https://play.qobuz.com/playlist/${playlist.id}`;
|
||||
writeText(url);
|
||||
}
|
||||
|
||||
function sharePlaylistSonglink() {
|
||||
if (!playlist?.id) return;
|
||||
const qobuzUrl = `https://play.qobuz.com/playlist/${playlist.id}`;
|
||||
const songlinkUrl = `https://song.link/${encodeURIComponent(qobuzUrl)}`;
|
||||
writeText(songlinkUrl);
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="playlist-detail" bind:this={scrollContainer}>
|
||||
@@ -1028,7 +1021,6 @@
|
||||
onPlayNext={handlePlayAllNext}
|
||||
onPlayLater={handlePlayAllLater}
|
||||
onShareQobuz={sharePlaylistQobuz}
|
||||
onShareSonglink={sharePlaylistSonglink}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user