You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently I'm an idiot. For some reason they were labeled as "FILE" instead of mp3 for a show I downloaded, so I assumed the extension wasn't coming down.
Looking at the files shows this definitely results in the .mp3.mp3 thing
Loop in get_metadata changed to:
if file_data['format'] == 'VBR MP3':
new_file = {
'title' : file_data['title'],
'download_filename' : file_data['name'],
'file_extension' : '.mp3',
}
try:
new_file['local_filename'] = "%s. %s%s" % (file_data['track'], file_data['title'], new_file['file_extension'])
except KeyError:
new_file['local_filename'] = file_data['title'] + new_file['file_extension']
new_metadata['files'].append(new_file)
The text was updated successfully, but these errors were encountered: