I have the latest home-assistant docker container running on Ubuntu 16.04 LTS. So far I’m loving it. Now, I am trying to add a VLC player to the setup, but I am running into issues. Below are the steps I took and error. Any help is greatly appreciated!
1-> I installed VLC on host using the following command and I can confirm it works standalone
sudo apt-get install vlc
2-> Then, I updated the configuration.yaml to add vlc media bridge to the home-assistant (that is running on docker)
media_player:
-platform: vlc
3-> After, restarting the home-assistant docker container, I get the following error
Log Details (ERROR)
Error while setting up platform vlc
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 82, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 243, in result
raise self._exception
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/media_player/vlc.py”, line 41, in setup_platform
config.get(CONF_ARGUMENTS))])
File “/usr/src/app/homeassistant/components/media_player/vlc.py”, line 50, in init
self._instance = vlc.Instance(arguments)
File “/usr/local/lib/python3.6/site-packages/vlc.py”, line 1551, in new
return libvlc_new(len(args), args)
File “/usr/local/lib/python3.6/site-packages/vlc.py”, line 3903, in libvlc_new
ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
File “/usr/local/lib/python3.6/site-packages/vlc.py”, line 246, in _Cfunction
raise NameError(‘no function %r’ % (name,))
NameError: no function 'libvlc_new’