mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-22 22:18:38 +01:00
v4.3.3.14 - Update NsPanelTs.ts
- Refactoring Sonos-Player (with Playlist, Tracklist, Favorites, Eqalizer (if no Favorites)) - minor Fixes with other Media-Players
This commit is contained in:
@@ -7198,8 +7198,8 @@ function GenerateDetailPage(type: string, optional: string, pageItem: PageItem):
|
|||||||
actualState = (actualState.replace('?','')).split(' -');
|
actualState = (actualState.replace('?','')).split(' -');
|
||||||
actualState = actualState[0].split(" (");
|
actualState = actualState[0].split(" (");
|
||||||
actualState = formatInSelText(actualState[0]);
|
actualState = formatInSelText(actualState[0]);
|
||||||
console.log(actualState);
|
if (Debug) console.log(actualState);
|
||||||
console.log(globalTracklist);
|
if (Debug) console.log(globalTracklist);
|
||||||
//Limit 900 characters, then memory overflow --> Shorten as much as possible
|
//Limit 900 characters, then memory overflow --> Shorten as much as possible
|
||||||
let temp_array = [];
|
let temp_array = [];
|
||||||
//let trackArray = (function () { try {return JSON.parse(getState(pageItem.adapterPlayerInstance + 'player.playlist.trackListArray').val);} catch(e) {return {};}})();
|
//let trackArray = (function () { try {return JSON.parse(getState(pageItem.adapterPlayerInstance + 'player.playlist.trackListArray').val);} catch(e) {return {};}})();
|
||||||
|
|||||||
Reference in New Issue
Block a user