mirror of
https://github.com/crosspoint-reader/calibre-plugins.git
synced 2026-04-29 10:26:59 -07:00
fixes conflict with smart device plugin
This commit is contained in:
@@ -260,6 +260,9 @@ def discover_device(timeout=2.0, debug=False, logger=None, extra_hosts=None):
|
||||
text = data.decode('utf-8', 'ignore')
|
||||
except Exception:
|
||||
continue
|
||||
if not text.startswith('crosspoint'):
|
||||
_log(logger, debug, f'[CrossPoint WS] discovery ignoring non-crosspoint response: {text}')
|
||||
continue
|
||||
semi = text.find(';')
|
||||
port = 81
|
||||
if semi != -1:
|
||||
|
||||
Reference in New Issue
Block a user