| 
					
					
						
							
						
					
					
				 | 
				@ -169,7 +169,7 @@ def parse_library(headers, tracks): | 
			
		
		
	
		
			
				 | 
				 | 
				            num_samples += 1  | 
				 | 
				 | 
				            num_samples += 1  | 
			
		
		
	
		
			
				 | 
				 | 
				            get_track_info(track_dict['track']) | 
				 | 
				 | 
				            get_track_info(track_dict['track']) | 
			
		
		
	
		
			
				 | 
				 | 
				            #  get_genre(headers, track_dict['track']['album']['id']) | 
				 | 
				 | 
				            #  get_genre(headers, track_dict['track']['album']['id']) | 
			
		
		
	
		
			
				 | 
				 | 
				            audio_features_dict = get_audio_features(headers, track_dict['id']) | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            audio_features_dict = get_audio_features(headers, track_dict['track']['id']) | 
			
		
		
	
		
			
				 | 
				 | 
				            for feature, feature_data in audio_features_dict.items(): | 
				 | 
				 | 
				            for feature, feature_data in audio_features_dict.items(): | 
			
		
		
	
		
			
				 | 
				 | 
				                update_audio_feature_stats(feature, feature_data, num_samples) | 
				 | 
				 | 
				                update_audio_feature_stats(feature, feature_data, num_samples) | 
			
		
		
	
		
			
				 | 
				 | 
				            for artist_dict in track_dict['track']['artists']: | 
				 | 
				 | 
				            for artist_dict in track_dict['track']['artists']: | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -335,4 +335,4 @@ def calculate_genres_from_artists(headers): | 
			
		
		
	
		
			
				 | 
				 | 
				        for genre in artist_response['genres']: | 
				 | 
				 | 
				        for genre in artist_response['genres']: | 
			
		
		
	
		
			
				 | 
				 | 
				            increase_nested_key('genres', genre, artist_entry['count']) | 
				 | 
				 | 
				            increase_nested_key('genres', genre, artist_entry['count']) | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				#  }}} calculate_genres_from_artists #  | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				#  }}} calculate_genres_from_artists #  |