is this how you do it?

This commit is contained in:
cere 2024-02-21 01:46:00 -05:00
parent 79efe3207a
commit 15aa7f9dd5
1 changed files with 6 additions and 1 deletions

View File

@ -66,7 +66,12 @@ class MainService:
def __init__(self):
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()