diff --git a/app/library/YTDLPOpts.py b/app/library/YTDLPOpts.py index 7e1c062d..b989f062 100644 --- a/app/library/YTDLPOpts.py +++ b/app/library/YTDLPOpts.py @@ -129,4 +129,7 @@ class YTDLPOpts(metaclass=Singleton): self.presets_opts = {} self._item_opts = {} + if "format" in data and "not_set" == data["format"]: + data["format"] = None + return data diff --git a/ui/components/PresetForm.vue b/ui/components/PresetForm.vue index 4419bc38..e4ef9d5e 100644 --- a/ui/components/PresetForm.vue +++ b/ui/components/PresetForm.vue @@ -111,7 +111,8 @@ The yt-dlp [--format, -f] video format code. see this - url for more info. + url for more info.. Note, as this key is required, you can set the value to not_set + to use the default yt-dlp format.