Fix regression where all videos are selected if --quality isnt used

This commit is contained in:
rlaphoenix 2023-03-26 20:13:52 +01:00
parent d894e5bbe0
commit 63eeeca910
1 changed files with 2 additions and 0 deletions

View File

@ -395,6 +395,8 @@ class dl:
plural = "s" if len(missing_resolutions) > 1 else ""
self.log.error(f"There's no {res_list} Video Track{plural}...")
sys.exit(1)
else:
title.tracks.videos = [title.tracks.videos[0]]
# filter subtitle tracks
if s_lang and "all" not in s_lang: