Add recently added XML shortcut

This commit is contained in:
JonnyWong16 2018-08-12 14:32:45 -07:00
parent 5736e12bc3
commit 427201a4ce
2 changed files with 6 additions and 2 deletions

View file

@ -278,7 +278,7 @@ class WebInterface(object):
def return_plex_xml_url(self, endpoint='', plextv=False, **kwargs):
kwargs['X-Plex-Token'] = plexpy.CONFIG.PMS_TOKEN
if plextv:
if plextv == 'true':
base_url = 'https://plex.tv'
else:
if plexpy.CONFIG.PMS_URL_OVERRIDE: