Skip to content

Commit e02aa42

Browse files
committed
Minimize the configuration sample
1 parent 27d03a3 commit e02aa42

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

source/_components/media_player.vlc.markdown

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ To add a VLC media player to your installation, add the following to your `confi
2222
# Example configuration.yaml entry
2323
media_player:
2424
- platform: vlc
25-
name: speaker_1
26-
arguments: '--alsa-audio-device=hw:1,0'
2725
```
2826
2927
Configuration variables:
@@ -34,3 +32,15 @@ Configuration variables:
3432
Only "music" media type is supported for now.
3533
3634
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.
35+
36+
## {% linkable_title Full configuration %}
37+
38+
A full configuration for VLC could llok like the one below:
39+
40+
```yaml
41+
# Example configuration.yaml entry
42+
media_player:
43+
- platform: vlc
44+
name: speaker_1
45+
arguments: '--alsa-audio-device=hw:1,0'
46+
```

0 commit comments

Comments
 (0)