Skip to content

Commit

Permalink
Update PlexAPI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyblue authored Apr 8, 2020
1 parent de85e21 commit 093c4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlexAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def getXMLFromMultiplePMS(ATV_udid, path, type, options={}):

for Dir in XML.getiterator('Directory'): # copy "Directory" content, add PMS to links

if Dir.get('key') is not None and (Dir.get('agent') is not None or Dir.get('share') is None):
if Dir.get('key') is not None and (Dir.get('agent') is not None or Dir.get('share') is not None):
key = Dir.get('key') # absolute path
Dir.set('key', PMS_mark + getURL('', path, key))
Dir.set('refreshKey', getURL(baseURL, path, key) + '/refresh')
Expand Down

0 comments on commit 093c4b4

Please sign in to comment.