total_duration = sum(track['duration'] for track in all_scrobbles)