Hey there.
I have a HA VM running (using the OVA) and want to have multiple vlc streams output from it (I have 4 USB audio devices mapped through proxmox into the VM and alsa shows them available when I run “audio info”)
When I add a media player platform in my configuration.yaml as per VLC media player - Home Assistant it gives an error
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 281, in _async_setup_platform
await asyncio.shield(task)
File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/vlc/media_player.py”, line 48, in setup_platform
[VlcDevice(config.get(CONF_NAME, DEFAULT_NAME), config.get(CONF_ARGUMENTS))]
File “/usr/src/homeassistant/homeassistant/components/vlc/media_player.py”, line 68, in init
self._instance = vlc.Instance(arguments)
File “/usr/local/lib/python3.10/site-packages/vlc.py”, line 1551, in new
return libvlc_new(len(args), args)
File “/usr/local/lib/python3.10/site-packages/vlc.py”, line 3902, in libvlc_new
_Cfunction(‘libvlc_new’, ((1,), (1,),), class_result(Instance),
File “/usr/local/lib/python3.10/site-packages/vlc.py”, line 246, in _Cfunction
raise NameError(‘no function %r’ % (name,))
NameError: no function ‘libvlc_new’
Now from my minor internet searchings this is related to vlc not being installed, which I can understand because it’s the VM and it’s not like I can actually install anything into it. But is it possible to actually do that? Or is this a non-starter?