mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-19 12:44:44 +01:00
Updated NSPanel Page ‐ Typen_How 2_Beispiele (markdown)
@@ -740,40 +740,21 @@ let SqueezeboxRPC: PageType =
|
||||
|
||||
**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
|
||||
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
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user