diff --git a/homeassistant/components/media_player/snapcast.py b/homeassistant/components/media_player/snapcast.py index 3f1607831e5c20..54015bec277351 100644 --- a/homeassistant/components/media_player/snapcast.py +++ b/homeassistant/components/media_player/snapcast.py @@ -20,7 +20,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.config import load_yaml_config_file -REQUIREMENTS = ['snapcast==2.0.7'] +REQUIREMENTS = ['snapcast==2.0.8'] _LOGGER = logging.getLogger(__name__) @@ -80,7 +80,7 @@ def _handle_service(service): try: server = yield from snapcast.control.create_server( - hass.loop, host, port) + hass.loop, host, port, reconnect=True) except socket.gaierror: _LOGGER.error('Could not connect to Snapcast server at %s:%d', host, port) diff --git a/requirements_all.txt b/requirements_all.txt index d22090708fe827..2c1112ae49ec05 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1022,7 +1022,7 @@ sleepyq==0.6 # smbus-cffi==0.5.1 # homeassistant.components.media_player.snapcast -snapcast==2.0.7 +snapcast==2.0.8 # homeassistant.components.climate.honeywell somecomfort==0.4.1