Merge pull request #3899 from FatboyJames/patch-1

This commit is contained in:
Bill Thornton 2022-09-13 10:45:29 -04:00 committed by GitHub
commit c62440f2d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ function updateNowPlayingInfo(context, state, serverId) {
const displayName = item ? getNowPlayingNameHtml(item).replace('<br/>', ' - ') : ''; const displayName = item ? getNowPlayingNameHtml(item).replace('<br/>', ' - ') : '';
if (item) { if (item) {
const nowPlayingServerId = (item.ServerId || serverId); 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 artistsSeries = '';
let albumName = ''; let albumName = '';
if (item.Artists != null) { if (item.Artists != null) {