radio station compatability

Signed-off-by: Core <core@coredev.uk>
This commit is contained in:
Core 2022-09-14 19:14:22 +01:00
parent bd6552a048
commit 378551bd0c
No known key found for this signature in database
GPG key ID: 2AB8327FBA02D1C0
4 changed files with 6 additions and 10 deletions

View file

@ -135,6 +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.status = isPlayingExport ?? null;
attributes.name = attributes?.name ?? "no-title-found";
attributes.artwork = attributes?.artwork ?? { url: "" };