vlc platform allows you to control VLC media player.
The VLC media player integration, is currently only available for installations that are based on the Home Assistant Core in a Python virtual environment.
To add a VLC media player to your installation, add the following to your
# Example configuration.yaml entry media_player: - platform: vlc
Only the “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.
A full configuration for VLC could look like the one below:
# Example configuration.yaml entry media_player: - platform: vlc name: speaker_1 arguments: "--alsa-audio-device=hw:1,0"
python-vlc won’t find the VLC plugin directory unless you add this to the user’s
.bash_profile that is running Home Assistant:
You need to add the
homeassistant user to the
sudo usermod -a -G audio homeassistant
Suggest an edit to this page, or provide/view feedback for this page.