Extend websocket method usage to port 8002 in Samsung TV media player (#24716)

pull/24724/head
Oleg Kurapov 2019-06-23 21:11:25 +02:00 committed by Paulus Schoutsen
parent c296e9b9bb
commit dc6a44d0eb
1 changed files with 1 additions and 1 deletions

View File

@ -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'