mvoed songlink to url attribute
Signed-off-by: Core <core@coredev.uk>
This commit is contained in:
parent
84878ba0e4
commit
f5ea832d91
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ const MusicKitInterop = {
|
|||
attributes.url = {
|
||||
cider: `https://cider.sh/link?play/s/${nowPlayingItem?._songId ?? nowPlayingItem?.songId ?? "no-id-found"}`,
|
||||
appleMusic: attributes.websiteUrl ? attributes.websiteUrl : `https://music.apple.com/${mk.storefrontId}/song/${nowPlayingItem?._songId ?? nowPlayingItem?.songId ?? "no-id-found"}`,
|
||||
songLink: "https://song.link/i/" + attributes.songId
|
||||
};
|
||||
if (attributes.playParams.id === "no-id-found") {
|
||||
attributes.playParams.id = nowPlayingItem?.id ?? "no-id-found";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue