Fix --concat-playlist

Closes #6080
This commit is contained in:
pukkandan 2023-01-24 03:43:48 +05:30
parent 88d8928bf7
commit 59d7de0da5
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -1777,7 +1777,7 @@ class YoutubeDL:
return { return {
**info, **info,
'playlist_index': 0, 'playlist_index': 0,
'__last_playlist_index': max(ie_result['requested_entries'] or (0, 0)), '__last_playlist_index': max(ie_result.get('requested_entries') or (0, 0)),
'extractor': ie_result['extractor'], 'extractor': ie_result['extractor'],
'extractor_key': ie_result['extractor_key'], 'extractor_key': ie_result['extractor_key'],
} }