is this how you do it?
This commit is contained in:
parent
79efe3207a
commit
15aa7f9dd5
1 changed files with 6 additions and 1 deletions
|
@ -66,7 +66,12 @@ class MainService:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
log_msg(f"Spotify plugin version: {xbmcaddon.Addon(id=ADDON_ID).getAddonInfo('version')}.")
|
log_msg(f"Spotify plugin version: {xbmcaddon.Addon(id=ADDON_ID).getAddonInfo('version')}.")
|
||||||
|
|
||||||
self.__librespot_session: Session = Session.Builder().user_pass(get_username(), get_password()).create()
|
self.__librespot_session: Session = Session.Builder(
|
||||||
|
conf=Session.Configuration(
|
||||||
|
store_credentials=False
|
||||||
|
).Builder().build()).user_pass(
|
||||||
|
get_username(), get_password()
|
||||||
|
).create()
|
||||||
|
|
||||||
add_http_video_rule()
|
add_http_video_rule()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue