Traceback (most recent call last): File “/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/entity_platform.py”, line 249, in _async_setup_platform await asyncio.shield(task) File “/usr/lib/python3.10/concurrent/futures/thread.py”, line 58, in run result = self.fn(*self.args, **self.kwargs) File “/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/cmus/media_player.py”, line 78, in setup_platform cmus_nnect() File “/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/cmus/media_player.py”, line 101, in connect self.cmus = remote.P圜mus( File “/srv/homeassistant/lib/python3.10/site-packages/pycmus/remote.py”, line 78, in init raise exceptions.ConfigurationError( : A configuration error occured Details: Unable to connect to server 192.168.1. Small, fast and powerful console music player for Unix-like operating systems. Bug fixes and implementations of new features should be suggested as a pull request directly on GitHub. Source: components/cmus/media_player.py:101Įrror while setting up cmus platform for media_player Keep the style consistent with rest of the code. Traceback (most recent call last): File “/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/entity_platform.py”, line 431, in _async_add_entity await entity.async_device_update(warning=False) File “/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/entity.py”, line 735, in async_device_update await task File “/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/mpd/media_player.py”, line 184, in async_update await self._connect() File “/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/mpd/media_player.py”, line 141, in _connect await self._nnect(rver, self.port) File “/srv/homeassistant/lib/python3.10/site-packages/mpd/asyncio.py”, line 195, in connect r, w = await asyncio.open_connection(host, port, loop=loop) File “/usr/lib/python3.10/asyncio/streams.py”, line 47, in open_connection transport, _ = await loop.create_connection( TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument ‘loop’ Source: components/mpd/media_player.py:141 Home Assistant 2022.4.1 CORE | Ubuntu 22.04 5.15.0-25-generic | Python 3.10.4Īfter installing Home Assistant, I can’t start MPD media player and CMUS =( Installation In case your favourite package manager provides an up to date version of cmus (see list of cmus packages ), installation is straightforward, e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |