Skip to content

Commit

Permalink
Fix --concat-playlist
Browse files Browse the repository at this point in the history
Closes #6080
  • Loading branch information
pukkandan committed Jan 23, 2023
1 parent 88d8928 commit 59d7de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/YoutubeDL.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
Expand Down

0 comments on commit 59d7de0

Please sign in to comment.