Added support for additional optional configuration
arguments:
to send to vlc.
It is useful for special configurations of VLC.
For example, I have two sound cards on my server, so I defined two vlc media players:
media_player:
- platform: vlc
name: speaker_1
arguments: '--alsa-audio-device=hw:1,0'
- platform: vlc
name: speaker_2
arguments: '--alsa-audio-device=hw:0,0'
This way, by specifying the corresponding entity_id, I can send the output to the desired speaker.
It is also useful for TTS.