mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Allow SSL cert verify override on Plex.tv requests.
This commit is contained in:
parent
2c77f2df98
commit
d345893529
2 changed files with 13 additions and 4 deletions
|
@ -89,10 +89,12 @@ class PlexTV(object):
|
|||
self.protocol = 'HTTPS'
|
||||
self.username = username
|
||||
self.password = password
|
||||
self.ssl_verify = plexpy.CONFIG.VERIFY_SSL_CERT
|
||||
|
||||
self.request_handler = http_handler.HTTPHandler(host='plex.tv',
|
||||
port=443,
|
||||
token=plexpy.CONFIG.PMS_TOKEN)
|
||||
token=plexpy.CONFIG.PMS_TOKEN,
|
||||
ssl_verify=self.ssl_verify)
|
||||
|
||||
def get_plex_auth(self, output_format='raw'):
|
||||
uri = '/users/sign_in.xml'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue