diff --git a/src/preload/cider-preload.js b/src/preload/cider-preload.js index da5cd080..6a8369f9 100644 --- a/src/preload/cider-preload.js +++ b/src/preload/cider-preload.js @@ -135,7 +135,7 @@ const MusicKitInterop = { const attributes = nowPlayingItem != null ? nowPlayingItem.attributes : {}; attributes.songId = attributes.songId ?? attributes.playParams?.catalogId ?? attributes.playParams?.id; - attributes.type = nowPlayingItem.type ?? ""; + attributes.type = nowPlayingItem?.type ?? ""; attributes.status = isPlayingExport ?? null; attributes.name = attributes?.name ?? "no-title-found"; attributes.artwork = attributes?.artwork ?? { url: "" };