is this how you do it?

This commit is contained in:
cere 2024-02-21 01:46:00 -05:00
parent 79efe3207a
commit 15aa7f9dd5

View file

@ -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()