mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 10:26:52 +00:00
Minimize the configuration sample
This commit is contained in:
parent
27d03a3b9d
commit
e02aa422e9
@ -22,8 +22,6 @@ To add a VLC media player to your installation, add the following to your `confi
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
media_player:
|
media_player:
|
||||||
- platform: vlc
|
- platform: vlc
|
||||||
name: speaker_1
|
|
||||||
arguments: '--alsa-audio-device=hw:1,0'
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
@ -34,3 +32,15 @@ Configuration variables:
|
|||||||
Only "music" media type is supported for now.
|
Only "music" media type is supported for now.
|
||||||
|
|
||||||
This service will control a background VLC instance, therefore you cannot use this to control a VLC instance launched on your desktop, unlike the Kodi media player for example.
|
This service will control a background VLC instance, therefore you cannot use this to control a VLC instance launched on your desktop, unlike the Kodi media player for example.
|
||||||
|
|
||||||
|
## {% linkable_title Full configuration %}
|
||||||
|
|
||||||
|
A full configuration for VLC could llok like the one below:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
media_player:
|
||||||
|
- platform: vlc
|
||||||
|
name: speaker_1
|
||||||
|
arguments: '--alsa-audio-device=hw:1,0'
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user