mirror of
				https://github.com/Alexander-D-Karpov/akarpov
				synced 2025-11-04 11:17:24 +03:00 
			
		
		
		
	updated cache root
This commit is contained in:
		
							parent
							
								
									c81b387689
								
							
						
					
					
						commit
						a309d5653d
					
				| 
						 | 
				
			
			@ -26,7 +26,7 @@ def search(name: str, session: spotipy.Spotify, search_type="track"):
 | 
			
		|||
def download_url(url, user_id=None):
 | 
			
		||||
    spot_settings = {
 | 
			
		||||
        "simple_tui": True,
 | 
			
		||||
        "log_level": "DEBUG",
 | 
			
		||||
        "log_level": "ERROR",
 | 
			
		||||
        "lyrics_providers": ["genius", "musixmatch"],
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -34,7 +34,6 @@ def download_url(url, user_id=None):
 | 
			
		|||
        client_id=settings.MUSIC_SPOTIFY_ID,
 | 
			
		||||
        client_secret=settings.MUSIC_SPOTIFY_SECRET,
 | 
			
		||||
        user_auth=False,
 | 
			
		||||
        cache_path=settings.MEDIA_ROOT,
 | 
			
		||||
        headless=False,
 | 
			
		||||
        downloader_settings=spot_settings,
 | 
			
		||||
    )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user