make break_on_existing optional and overridable by user.

This commit is contained in:
ArabCoders 2025-03-15 01:00:27 +03:00
parent 8dd7c7de1e
commit 7849eb8735

View file

@ -119,6 +119,7 @@ class Download:
params = (
YTDLPOpts.get_instance()
.preset(self.preset)
.add({"break_on_existing": True})
.add(self.ytdl_opts, from_user=True)
.add(
{
@ -132,7 +133,6 @@ class Download:
"chapter": self.template_chapter,
},
"noprogress": True,
"break_on_existing": True,
"ignoreerrors": False,
},
from_user=False,