Suspend Alexa thread if Plex user is restricted
- Alexa currently only works for the master user for Plex home
This commit is contained in:
parent
25afc0c702
commit
57408c5137
1 changed files with 8 additions and 0 deletions
|
@ -251,3 +251,11 @@ class Alexia_Websocket(WebSocket):
|
|||
|
||||
def IOError_response(self):
|
||||
pass
|
||||
|
||||
def threadSuspended(self):
|
||||
"""
|
||||
Overwrite to ignore library sync stuff and allow to check for
|
||||
plex_restricteduser
|
||||
"""
|
||||
return (self._threadSuspended or
|
||||
window('plex_restricteduser') == 'true')
|
||||
|
|
Loading…
Reference in a new issue