Updated NSPanel Page ‐ Typen_How 2_Beispiele (markdown)

Armilar
2024-02-07 22:29:31 +01:00
parent 6e582eb7b2
commit 489af34431

@@ -740,40 +740,21 @@ let SqueezeboxRPC: PageType =
**CardMedia - Volumio** **CardMedia - Volumio**
![image](https://github.com/joBr99/nspanel-lovelace-ui/assets/102996011/3b72ecfa-07ef-42e4-88b7-b5846a6a91a2) ![image](https://github.com/joBr99/nspanel-lovelace-ui/assets/102996011/c02474d2-a06e-47f2-8545-0eaa98723125)
```typescript
let VolumioBoss: PageType =
{
'type': 'cardMedia',
'heading': 'Volumio-Büro',
'items': [{
id: 'alias.0.NSPanel.Volumio-Boss',
adapterPlayerInstance: 'volumio.0.',
speakerList: [], /* this must, no function */
playList: [], /* empty for dynamic reading */
colorMediaIcon: colorSpotify,
colorMediaTitle: colorSpotify,
colorMediaArtist: Yellow,
alwaysOnDisplay: true,
autoCreateALias: true
}]
};
```
```typescript ```typescript
let VolumioMobil: PageType = let Volumio: PageType =
{ {
'type': 'cardMedia', 'type': 'cardMedia',
'heading': 'Volumio-Mobil', 'heading': 'Volumio-Player',
'items': [{ 'items': [{
id: 'alias.0.NSPanel.Volumio-Mobil', id: AliasPath + 'Media.PlayerVolumio',
adapterPlayerInstance: 'volumio.1.', adapterPlayerInstance: 'volumio.0.',
speakerList: [], /* this must, no function */ speakerList: ['Volumio'], /* this must, no function */
playList: [], /* empty for dynamic reading */ playList: [], /* empty for dynamic reading */
colorMediaIcon: Yellow, colorMediaIcon: colorVolumio,
colorMediaTitle: Yellow, colorMediaTitle: Yellow,
colorMediaArtist: Gray, colorMediaArtist: Yellow,
alwaysOnDisplay: true, alwaysOnDisplay: true,
autoCreateALias: true autoCreateALias: true
}] }]