add legacyauth setting

cloned from
https://github.com/lrusak/plugin.audio.subsonic/commit/ad4fc0d0be33ea827
5a73e9a9d10bc6a5f772dba
This commit is contained in:
gordielachance
2016-10-01 00:56:59 +02:00
parent b35dfd278d
commit 44418a384e
3 changed files with 6 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, insecure):
def __init__(self, url, username, password, apiversion, insecure, legacyauth):
"""
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, insecure=insecure)
host, username, password, port=port, apiVersion=apiversion, insecure=insecure, legacyAuth=legacyauth)
def getIndexes(self, *args, **kwargs):
"""