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