Make sure password and username are always strings
This commit is contained in:
parent
b18b8e0094
commit
30d0e8641e
4
main.py
4
main.py
|
@ -51,8 +51,8 @@ def get_connection():
|
|||
try:
|
||||
connection = libsonic_extra.SubsonicClient(
|
||||
Addon().get_setting('subsonic_url'),
|
||||
Addon().get_setting('username'),
|
||||
Addon().get_setting('password'),
|
||||
Addon().get_setting('username', convert=False),
|
||||
Addon().get_setting('password', convert=False),
|
||||
Addon().get_setting('apiversion'),
|
||||
Addon().get_setting('insecure') == 'true',
|
||||
Addon().get_setting('legacyauth') == 'true',
|
||||
|
|
Loading…
Reference in New Issue