forked from platypush/platypush
Log trace before attempting a Snapcast connection
This commit is contained in:
parent
b6ac4cbf6d
commit
29be2945cc
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ class MusicSnapcastPlugin(Plugin):
|
||||||
|
|
||||||
def _connect(self, host=None, port=None):
|
def _connect(self, host=None, port=None):
|
||||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
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))
|
sock.connect((host or self.host, port or self.port))
|
||||||
return sock
|
return sock
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue