Skip to content

Commit

Permalink
Fix channels
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyblue authored Apr 7, 2020
1 parent 31287fb commit de85e21
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('hasPrefs') is None):
if Dir.get('key') is not None and (Dir.get('agent') is not None or Dir.get('share') 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 de85e21

Please sign in to comment.