mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 17:52:59 -07:00
Add advanced config setting to enable Plex XML shortcuts
This commit is contained in:
parent
f8048a01a6
commit
16f20c941c
3 changed files with 7 additions and 1 deletions
|
@ -382,6 +382,9 @@ class WebInterface(object):
|
|||
@cherrypy.tools.json_out()
|
||||
@requireAuth(member_of("admin"))
|
||||
def return_plex_xml_url(self, endpoint='', plextv=False, **kwargs):
|
||||
if not (plexpy.CONFIG.HTTP_PASSWORD and plexpy.CONFIG.PMS_XML_SHORTCUTS):
|
||||
return
|
||||
|
||||
kwargs['X-Plex-Token'] = plexpy.CONFIG.PMS_TOKEN
|
||||
|
||||
if helpers.bool_true(plextv):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue