Skip to content

Commit

Permalink
Enable channels
Browse files Browse the repository at this point in the history
Fixes #568
  • Loading branch information
moodyblue authored Apr 6, 2020
1 parent beef43f commit 536a184
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:
if Dir.get('key') is not None and (Dir.get('agent') is not None or Dir.get('hasPrefs') is 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 536a184

Please sign in to comment.