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