From 57edd48b1f01f2f64eefdf31d5b8d9ef2daa3018 Mon Sep 17 00:00:00 2001 From: Core Date: Thu, 15 Sep 2022 01:33:23 +0100 Subject: [PATCH] stop that Signed-off-by: Core --- src/preload/cider-preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: "" };