Only try to connect Alexa if we got a Plex token
This commit is contained in:
parent
57408c5137
commit
df6d753c18
1 changed files with 2 additions and 1 deletions
|
@ -258,4 +258,5 @@ class Alexia_Websocket(WebSocket):
|
||||||
plex_restricteduser
|
plex_restricteduser
|
||||||
"""
|
"""
|
||||||
return (self._threadSuspended or
|
return (self._threadSuspended or
|
||||||
window('plex_restricteduser') == 'true')
|
window('plex_restricteduser') == 'true' or
|
||||||
|
not window('plex_token'))
|
||||||
|
|
Loading…
Reference in a new issue