Remove deprecated {resolution} output format option

This commit is contained in:
bytedream 2024-04-08 14:34:50 +02:00
parent 77103ff1f1
commit 18534b259b
3 changed files with 0 additions and 22 deletions

View file

@ -187,15 +187,6 @@ impl Execute for Download {
}
}
if self.output.contains("{resolution}")
|| self
.output_specials
.as_ref()
.map_or(false, |os| os.contains("{resolution}"))
{
warn!("The '{{resolution}}' format option is deprecated and will be removed in a future version. Please use '{{width}}' and '{{height}}' instead")
}
if let Some(language_tagging) = &self.language_tagging {
self.audio = resolve_locales(&[self.audio.clone()]).remove(0);
self.subtitle = self