mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-01 16:06:51 +01:00
Updated NSPanel Page ‐ Typen_How 2_Beispiele (markdown)
@@ -740,40 +740,21 @@ let SqueezeboxRPC: PageType =
|
|||||||
|
|
||||||
**CardMedia - Volumio**
|
**CardMedia - Volumio**
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
```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
|
||||||
}]
|
}]
|
||||||
|
|||||||
Reference in New Issue
Block a user