fix: add video_only condition to subtitle track selection logic fixes issues where ccextractor would run even with -V enabled

This commit is contained in:
Andy
2025-07-18 23:21:13 +00:00
parent 49a0eb7cf3
commit fa0224b19f

View File

@@ -772,6 +772,7 @@ class dl:
while (
not title.tracks.subtitles
and not no_subs
and not video_only
and len(title.tracks.videos) > video_track_n
and any(
x.get("codec_name", "").startswith("eia_")