diff --git a/src/preload/cider-preload.js b/src/preload/cider-preload.js index 94413a69..f80dc7d6 100644 --- a/src/preload/cider-preload.js +++ b/src/preload/cider-preload.js @@ -50,10 +50,9 @@ const MusicKitInterop = { attributes.artwork.url = (attributes?.artwork?.url ?? '').replace(`{f}`, "png"); attributes.playParams = attributes?.playParams ?? {id: 'no-id-found'}; attributes.playParams.id = attributes?.playParams?.id ?? 'no-id-found'; - attributes.playParams.songid = nowPlayingItem.songId ?? 'no-id-found' attributes.url = { - cider: "https://cider.sh/p?id=" + attributes.playParams.id, - appleMusic: "https://music.apple.com/song/" + nowPlayingItem.songId + cider: "cider://play/s/" + nowPlayingItem?.songId ?? 'no-id-found', + appleMusic: "https://music.apple.com/song/" + nowPlayingItem?.songId ?? 'no-id-found' } if (attributes.playParams.id === 'no-id-found') { attributes.playParams.id = nowPlayingItem?.id ?? 'no-id-found';