mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Verify that we are checking for a server
This commit is contained in:
parent
56e9845b2c
commit
c2dcd98939
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,8 @@ class PlexTV(object):
|
|||
return None
|
||||
|
||||
for a in xml_head:
|
||||
if helpers.get_xml_attr(a, 'clientIdentifier') == plexpy.CONFIG.PMS_IDENTIFIER:
|
||||
if helpers.get_xml_attr(a, 'clientIdentifier') == plexpy.CONFIG.PMS_IDENTIFIER \
|
||||
and 'server' in helpers.get_xml_attr(a, 'provides'):
|
||||
server_token = helpers.get_xml_attr(a, 'accessToken')
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue