Fix `--break-on-existing` with `--lazy-playlist`

Closes #6399
pull/6414/head
pukkandan 2 years ago
parent b2e0343ba0
commit d21056f4cf
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -3042,8 +3042,10 @@ class PlaylistEntries:
if not entry: if not entry:
continue continue
try: try:
# TODO: Add auto-generated fields # The item may have just been added to archive. Don't break due to it
self.ydl._match_entry(entry, incomplete=True, silent=True) if not self.ydl.params.get('lazy_playlist'):
# TODO: Add auto-generated fields
self.ydl._match_entry(entry, incomplete=True, silent=True)
except (ExistingVideoReached, RejectedVideoReached): except (ExistingVideoReached, RejectedVideoReached):
return return

Loading…
Cancel
Save