Hello I keep getting the same log error when attempting to choose sonos as my media player, I tried resetting the sonos as well as not selecting a hosts target.
This is the error
17-01-08 16:22:24 homeassistant.components.media_player: Error while setting up platform sonos
Traceback (most recent call last):
File “C:\Users\alvar\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\helpers\entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “C:\Users\alvar\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 361, in iter
yield self # This tells Task to wait for completion.
File “C:\Users\alvar\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py”, line 296, in _wakeup
future.result()
File “C:\Users\alvar\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 274, in result
raise self._exception
File “C:\Users\alvar\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\alvar\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\media_player\sonos.py”, line 116, in setup_platform
players = soco.discover(interface_addr=config.get(CONF_INTERFACE_ADDR))
File “C:\Users\alvar\AppData\Roaming.homeassistant\deps\soco\discovery.py”, line 123, in discover
list(s.getsockname()[0] for s in _sockets))
File “C:\Users\alvar\AppData\Roaming.homeassistant\deps\soco\discovery.py”, line 123, in
list(s.getsockname()[0] for s in _sockets))
OSError: [WinError 10022] An invalid argument was supplied
Thank you!