A feature-rich command-line audio/video downloader
Fix `--break-on-existing` with `--lazy-playlist`
pukkandand21056f4cf0a
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.pyindex 19c1404839..bf2eb6b380 100644--- a/yt_dlp/utils.py+++ b/yt_dlp/utils.py@@ -3042,8 +3042,10 @@ class PlaylistEntries:if not entry:continuetry:- # TODO: Add auto-generated fields- self.ydl._match_entry(entry, incomplete=True, silent=True)+ # 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):return