From e02aa422e98c247711e1635a86d69f017b1a10f0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 15 Jan 2017 13:11:52 +0100 Subject: [PATCH] Minimize the configuration sample --- source/_components/media_player.vlc.markdown | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/source/_components/media_player.vlc.markdown b/source/_components/media_player.vlc.markdown index a779b435f47..78d2971daee 100644 --- a/source/_components/media_player.vlc.markdown +++ b/source/_components/media_player.vlc.markdown @@ -22,8 +22,6 @@ To add a VLC media player to your installation, add the following to your `confi # Example configuration.yaml entry media_player: - platform: vlc - name: speaker_1 - arguments: '--alsa-audio-device=hw:1,0' ``` Configuration variables: @@ -34,3 +32,15 @@ Configuration variables: 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. + +## {% 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' +```