[core] Fix format sorting with `--load-info-json` (#8521)

Closes #7971
Authored by: bashonly
pull/8560/head
bashonly 1 year ago committed by GitHub
parent 2622c804d1
commit 595ea4a99b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3550,7 +3550,7 @@ class YoutubeDL:
reject = lambda k, v: v is None or k.startswith('__') or k in {
'requested_downloads', 'requested_formats', 'requested_subtitles', 'requested_entries',
'entries', 'filepath', '_filename', 'filename', 'infojson_filename', 'original_url',
'playlist_autonumber', '_format_sort_fields',
'playlist_autonumber',
}
else:
reject = lambda k, v: False

Loading…
Cancel
Save