0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

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 @@ def _playlist_infodict(ie_result, strict=False, **kwargs):
return {
**info,
'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_key': ie_result['extractor_key'],
}