mirror of https://github.com/devine-dl/devine.git
Fix regression where all videos are selected if --quality isnt used
This commit is contained in:
parent
d894e5bbe0
commit
63eeeca910
|
@ -395,6 +395,8 @@ class dl:
|
||||||
plural = "s" if len(missing_resolutions) > 1 else ""
|
plural = "s" if len(missing_resolutions) > 1 else ""
|
||||||
self.log.error(f"There's no {res_list} Video Track{plural}...")
|
self.log.error(f"There's no {res_list} Video Track{plural}...")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
else:
|
||||||
|
title.tracks.videos = [title.tracks.videos[0]]
|
||||||
|
|
||||||
# filter subtitle tracks
|
# filter subtitle tracks
|
||||||
if s_lang and "all" not in s_lang:
|
if s_lang and "all" not in s_lang:
|
||||||
|
|
Loading…
Reference in New Issue