From ce6717292ac383c9784d0d439465ccf5c0e330ff Mon Sep 17 00:00:00 2001 From: Armilar <102996011+Armilar@users.noreply.github.com> Date: Mon, 27 Nov 2023 15:58:08 +0100 Subject: [PATCH] v4.3.3.14 - Update NsPanelTs.ts - Refactoring Sonos-Player (with Playlist, Tracklist, Favorites, Eqalizer (if no Favorites)) - minor Fixes with other Media-Players --- ioBroker/NsPanelTs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts index 468ddcc6..ca2ceb2e 100644 --- a/ioBroker/NsPanelTs.ts +++ b/ioBroker/NsPanelTs.ts @@ -7198,8 +7198,8 @@ function GenerateDetailPage(type: string, optional: string, pageItem: PageItem): actualState = (actualState.replace('?','')).split(' -'); actualState = actualState[0].split(" ("); actualState = formatInSelText(actualState[0]); - console.log(actualState); - console.log(globalTracklist); + if (Debug) console.log(actualState); + if (Debug) console.log(globalTracklist); //Limit 900 characters, then memory overflow --> Shorten as much as possible let temp_array = []; //let trackArray = (function () { try {return JSON.parse(getState(pageItem.adapterPlayerInstance + 'player.playlist.trackListArray').val);} catch(e) {return {};}})();