1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-02 07:35:13 +00:00

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

Closes #6399
This commit is contained in:
pukkandan
2023-03-03 23:59:00 +05:30
parent b2e0343ba0
commit d21056f4cf

View File

@@ -3042,6 +3042,8 @@ class PlaylistEntries:
if not entry:
continue
try:
# The item may have just been added to archive. Don't break due to it
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):