making progress
This commit is contained in:
		
							parent
							
								
									c9da092801
								
							
						
					
					
						commit
						0e5991df5a
					
				
					 1 changed files with 9 additions and 2 deletions
				
			
		|  | @ -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() | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue