add insecure setting

cloned from
https://github.com/lrusak/plugin.audio.subsonic/commit/5c5040a7d92a8e88c
8e371140a0fa2c6e606d0d5
This commit is contained in:
gordielachance
2016-10-01 00:33:03 +02:00
parent 6b4807bbf5
commit 47d0fcbe77
3 changed files with 5 additions and 3 deletions

View File

@ -33,7 +33,7 @@ class SubsonicClient(libsonic.Connection):
- Add conventient `walk_*' methods to iterate over the API responses.
"""
def __init__(self, url, username, password, apiversion):
def __init__(self, url, username, password, apiversion, insecure):
"""
Construct a new SubsonicClient.
@ -63,7 +63,7 @@ class SubsonicClient(libsonic.Connection):
# Invoke original constructor
super(SubsonicClient, self).__init__(
host, username, password, port=port, apiVersion=apiversion)
host, username, password, port=port, apiVersion=apiversion, insecure=insecure)
def getIndexes(self, *args, **kwargs):
"""