Extend websocket method usage to port 8002 in Samsung TV media player (#24716)
parent
c296e9b9bb
commit
dc6a44d0eb
|
@ -120,7 +120,7 @@ class SamsungTVDevice(MediaPlayerDevice):
|
|||
'timeout': timeout,
|
||||
}
|
||||
|
||||
if self._config['port'] == 8001:
|
||||
if self._config['port'] in (8001, 8002):
|
||||
self._config['method'] = 'websocket'
|
||||
else:
|
||||
self._config['method'] = 'legacy'
|
||||
|
|
Loading…
Reference in New Issue