From 436ba3cf81416a54db114723ec73f40c450b8e52 Mon Sep 17 00:00:00 2001 From: FatboyJames <33786117+FatboyJames@users.noreply.github.com> Date: Mon, 12 Sep 2022 23:39:15 +0100 Subject: [PATCH] Fix fullscreen scrobble not working for Audiobooks --- src/components/remotecontrol/remotecontrol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/remotecontrol/remotecontrol.js b/src/components/remotecontrol/remotecontrol.js index ad11b2719..56c9ecb01 100644 --- a/src/components/remotecontrol/remotecontrol.js +++ b/src/components/remotecontrol/remotecontrol.js @@ -139,7 +139,7 @@ function updateNowPlayingInfo(context, state, serverId) { const displayName = item ? getNowPlayingNameHtml(item).replace('
', ' - ') : ''; if (item) { const nowPlayingServerId = (item.ServerId || serverId); - if (item.Type == 'Audio' || item.MediaStreams[0].Type == 'Audio') { + if (item.Type == 'AudioBook' || item.Type == 'Audio' || item.MediaStreams[0].Type == 'Audio') { let artistsSeries = ''; let albumName = ''; if (item.Artists != null) {