mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-06 00:06:51 +01:00
Updated ioBroker Card Definitionen (Seiten) (markdown)
@@ -64,7 +64,7 @@ var Sprechender_eindeutiger_Seitenname: PageAlarm =
|
||||
};
|
||||
```
|
||||
# cardMedia v2.0 (ab Release v3.7.0)
|
||||

|
||||

|
||||
|
||||
Neue Elemente
|
||||
* Shuffle
|
||||
@@ -74,7 +74,71 @@ Neue Elemente
|
||||
* Equalizer-Profile
|
||||
* Repeat
|
||||
|
||||
> Beschreibung folgt
|
||||
(Erstellung des "PageItem" siehe [ioBroker ALIAS Definition](https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker-ALIAS-Definitionen))
|
||||
|
||||
> **Definition ab TS-Version 3.7.0** (Breaking Changes)
|
||||
**alexa2-Adapter**
|
||||
```
|
||||
let Alexa: PageMedia =
|
||||
{
|
||||
'type': 'cardMedia',
|
||||
'heading': 'Alexa',
|
||||
'useColor': true,
|
||||
'subPage': false,
|
||||
'parent': undefined,
|
||||
'items': [<PageItem>{
|
||||
id: AliasPath + 'Media.PlayerAlexa',
|
||||
adapterPlayerInstance: 'alexa2.0.',
|
||||
mediaDevice: 'G0XXXXXXXXXXXXXX', // Eigene Seriennummer des primären Device einstellen
|
||||
speakerList: ['Überall','Gartenhaus','Esszimmer','Heimkino','Echo Dot Küche','Echo Spot Buero'],
|
||||
//analog alexa2 Music-Provider
|
||||
//Mögliche Playlists:
|
||||
playList: ['Spotify-Playlist.Party Playlist',
|
||||
'Amazon-Music-Playlist.Mein Discovery Mix',
|
||||
'My-Library-Playlist.2020',
|
||||
'My-Library-Playlist.2021',
|
||||
'TuneIn.Radio Bob Rock',
|
||||
'TuneIn.NDR2',
|
||||
'Spotify-Playlist.Sabaton Radio',
|
||||
'Spotify-Playlist.Rock Party',
|
||||
'Spotify-Playlist.This Is Nightwish',
|
||||
'Spotify-Playlist.Metal Christmas'],
|
||||
equalizerList: ['Bassboost','Klassik','Dance', 'Deep', 'Electronic', 'Flat', 'Hip-Hop', 'Rock',
|
||||
'Metal', 'Jazz', 'Latin', 'Tonstärke', 'Lounge', 'Piano'],
|
||||
colorMediaIcon: colorAlexa,
|
||||
colorMediaArtist: Yellow,
|
||||
colorMediaTitle: Yellow,
|
||||
autoCreateALias : true
|
||||
}]
|
||||
};
|
||||
```
|
||||
|
||||
**spotify-premium Adapter**
|
||||
```
|
||||
let SpotifyPremium: PageMedia =
|
||||
{
|
||||
"type": "cardMedia",
|
||||
"heading": "Spotify-Premium",
|
||||
"useColor": true,
|
||||
"subPage": false,
|
||||
"parent": undefined,
|
||||
"items": [<PageItem>{
|
||||
id: AliasPath + 'Media.PlayerSpotifyPremium',
|
||||
adapterPlayerInstance: "spotify-premium.0.",
|
||||
speakerList: ['LENOVO-W11-01','Terrasse','Überall','Gartenhaus','Esszimmer','Heimkino','Echo Dot Küche',
|
||||
'Echo Spot Buero'],
|
||||
//Favoriten Playlists aus Spotify in Liste eintragen
|
||||
playList: ['Party Playlist','Sabaton Radio','Rock Party','This Is Nightwish','Metal Christmas'],
|
||||
repeatList: ['off','context','track'],
|
||||
equalizerList: ['Bassboost','Klassik','Dance', 'Deep', 'Electronic', 'Flat', 'Hip-Hop', 'Rock',
|
||||
'Metal', 'Jazz', 'Latin', 'Tonstärke', 'Lounge', 'Piano'],
|
||||
colorMediaIcon: colorSpotify,
|
||||
colorMediaArtist: Yellow,
|
||||
colorMediaTitle: Yellow,
|
||||
autoCreateALias : true
|
||||
}]
|
||||
};
|
||||
```
|
||||
|
||||
# cardMedia v1.0 (bis Release v3.6.0)
|
||||

|
||||
|
||||
Reference in New Issue
Block a user