Fix `--concat-playlist`

Closes #6080
pull/6107/head
pukkandan 2 years ago
parent 88d8928bf7
commit 59d7de0da5
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -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'],
}

Loading…
Cancel
Save