mirror of
				https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
				synced 2025-11-03 21:10:34 +00:00 
			
		
		
		
	Changed default format back to mp3
This commit is contained in:
		
							parent
							
								
									4c29263e8a
								
							
						
					
					
						commit
						dd4a23a82a
					
				@ -31,7 +31,7 @@ ROOT_PODCAST_PATH = "ZSpotify Podcasts/"
 | 
			
		||||
 | 
			
		||||
SKIP_EXISTING_FILES = True
 | 
			
		||||
 | 
			
		||||
MUSIC_FORMAT = "ogg"  # or "ogg"
 | 
			
		||||
MUSIC_FORMAT = "mp3"  # or "ogg"
 | 
			
		||||
RAW_AUDIO_AS_IS = False  # set to True if you wish to just save the raw audio
 | 
			
		||||
 | 
			
		||||
FORCE_PREMIUM = False  # set to True if not detecting your premium account automatically
 | 
			
		||||
@ -619,6 +619,7 @@ def download_album(album):
 | 
			
		||||
        download_track(track['id'], artist + " - " + album_name + "/")
 | 
			
		||||
        print("\n")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def download_playlist(playlists, playlist_choice):
 | 
			
		||||
    """Downloads all the songs from a playlist"""
 | 
			
		||||
    token = SESSION.tokens().get("user-read-email")
 | 
			
		||||
@ -632,6 +633,7 @@ def download_playlist(playlists, playlist_choice):
 | 
			
		||||
                playlists[int(playlist_choice) - 1]['name'].strip()) + "/")
 | 
			
		||||
        print("\n")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def download_from_user_playlist():
 | 
			
		||||
    """ Select which playlist(s) to download """
 | 
			
		||||
    token = SESSION.tokens().get("user-read-email")
 | 
			
		||||
@ -662,9 +664,6 @@ def download_from_user_playlist():
 | 
			
		||||
        print("\n**All playlists have been downloaded**\n")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Core functions here
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user