No websocket message logging
This commit is contained in:
parent
85c3f3949b
commit
c401cd9835
2 changed files with 1 additions and 1 deletions
|
@ -1195,7 +1195,6 @@ class LibrarySync(Thread):
|
|||
do with "process_" methods
|
||||
"""
|
||||
typus = message.get('type')
|
||||
self.logMsg('Message received from websocket: %s' % message, 2)
|
||||
if typus == 'playing':
|
||||
self.process_playing(message['_children'])
|
||||
elif typus == 'timeline':
|
||||
|
|
|
@ -78,6 +78,7 @@ class WebSocket_Client(threading.Thread):
|
|||
return False
|
||||
|
||||
# Triage
|
||||
self.logMsg('Message received: %s' % message, 2)
|
||||
typus = message.get('type')
|
||||
if typus is None:
|
||||
self.logMsg('No message type, dropping message: %s' % message, -1)
|
||||
|
|
Loading…
Reference in a new issue