mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2025-10-23 15:11:08 +00:00
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:
@@ -772,6 +772,7 @@ class dl:
|
|||||||
while (
|
while (
|
||||||
not title.tracks.subtitles
|
not title.tracks.subtitles
|
||||||
and not no_subs
|
and not no_subs
|
||||||
|
and not video_only
|
||||||
and len(title.tracks.videos) > video_track_n
|
and len(title.tracks.videos) > video_track_n
|
||||||
and any(
|
and any(
|
||||||
x.get("codec_name", "").startswith("eia_")
|
x.get("codec_name", "").startswith("eia_")
|
||||||
|
|||||||
Reference in New Issue
Block a user