Fix discordRPC
This commit is contained in:
parent
958e1c9977
commit
48bc7cd2d4
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,6 @@ const MusicKitInterop = {
|
|||
attributes.name = attributes?.name ?? 'No Title Found';
|
||||
attributes.artwork = attributes?.artwork ?? { url: '' };
|
||||
attributes.artwork.url = (attributes?.artwork?.url ?? '').replace(`{f}`,"png");
|
||||
attributes.songUrl = ('https://music.apple.com/song/' + nowPlayingItem?._songId) ?? '';
|
||||
attributes.playParams = attributes?.playParams ?? { id: 'no-id-found' };
|
||||
attributes.playParams.id = attributes?.playParams?.id ?? 'no-id-found';
|
||||
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