making progress

This commit is contained in:
cere 2024-02-21 02:14:19 -05:00
parent c9da092801
commit 0e5991df5a

View file

@ -66,10 +66,17 @@ 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')}.")
#'cache_enabled', 'cache_dir', 'do_cache_clean_up', 'stored_credentials_file', and 'retry_on_chunk_error'
self.__librespot_session: Session = Session.Builder( self.__librespot_session: Session = Session.Builder(
conf=Session.Configuration( conf=Session.Configuration(
store_credentials=False False,
).Builder().build()).user_pass( "",
False,
False,
"",
True
)).user_pass(
get_username(), get_password() get_username(), get_password()
).create() ).create()