Log trace before attempting a Snapcast connection

This commit is contained in:
Fabio Manganiello 2019-01-11 11:46:08 +01:00
parent b6ac4cbf6d
commit 29be2945cc
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class MusicSnapcastPlugin(Plugin):
def _connect(self, host=None, port=None):
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.logger.info('Connecting to Snapcast host {}:{}'.format(host, port))
sock.connect((host or self.host, port or self.port))
return sock