add insecure setting
cloned from https://github.com/lrusak/plugin.audio.subsonic/commit/5c5040a7d92a8e88c 8e371140a0fa2c6e606d0d5
This commit is contained in:
3
addon.py
3
addon.py
@ -31,6 +31,7 @@ class Plugin(object):
|
||||
self.username = addon.getSetting("username")
|
||||
self.password = addon.getSetting("password")
|
||||
self.apiversion = addon.getSetting("apiversion")
|
||||
self.insecure = addon.getSetting("insecure") == "true"
|
||||
|
||||
self.albums_per_page = int(addon.getSetting("albums_per_page"))
|
||||
self.tracks_per_page = int(addon.getSetting("tracks_per_page"))
|
||||
@ -40,7 +41,7 @@ class Plugin(object):
|
||||
|
||||
# Create connection
|
||||
self.connection = libsonic_extra.SubsonicClient(
|
||||
self.url, self.username, self.password, self.apiversion)
|
||||
self.url, self.username, self.password, self.apiversion, self.insecure)
|
||||
|
||||
def build_url(self, query):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user