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
1 changed files with 1 additions and 1 deletions

View File

@ -1777,7 +1777,7 @@ class YoutubeDL:
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'],
}