diff --git a/lib/svtplay_dl/utils/parser.py b/lib/svtplay_dl/utils/parser.py index 567b1dc..8e4df5b 100644 --- a/lib/svtplay_dl/utils/parser.py +++ b/lib/svtplay_dl/utils/parser.py @@ -368,6 +368,7 @@ def setup_defaults(): options.set("only_audio", False) options.set("only_video", False) options.set("output_format", "mp4") + options.set("get_all_subtitles", False) return _special_settings(options) diff --git a/lib/svtplay_dl/utils/stream.py b/lib/svtplay_dl/utils/stream.py index 696ab73..f0f7b3a 100644 --- a/lib/svtplay_dl/utils/stream.py +++ b/lib/svtplay_dl/utils/stream.py @@ -97,7 +97,7 @@ def subtitle_filter(subtitles) -> List: def subtitle_decider(stream, subtitles): - if subtitles and (stream.config.get("merge_subtitle") or stream.config.get("subtitle") or stream.config("get_all_subtitles")): + if subtitles and (stream.config.get("merge_subtitle") or stream.config.get("subtitle") or stream.config.get("get_all_subtitles")): subtitles = subtitle_filter(subtitles) if stream.config.get("get_all_subtitles"): for sub in subtitles: