chore: Prettified Code
[ci skip]
This commit is contained in:
parent
6ee309a6c5
commit
981f372b2d
3 changed files with 24 additions and 21 deletions
|
@ -145,7 +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
|
||||
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