From d8a34c1fe94eaa74abe3680ae6494d001f5f7eef Mon Sep 17 00:00:00 2001 From: qnorsten Date: Thu, 2 Feb 2017 14:17:18 +0100 Subject: [PATCH] main: Add include-clips command to include clips when combined with -A Added --include-clips command to include clips when used togheter with -A --- lib/svtplay_dl/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/svtplay_dl/__init__.py b/lib/svtplay_dl/__init__.py index 925ebf6..2a768b2 100644 --- a/lib/svtplay_dl/__init__.py +++ b/lib/svtplay_dl/__init__.py @@ -427,6 +427,8 @@ def main(): help="If two streams have the same quality, choose the one you prefer") parser.add_option("--remux", dest="remux", default=False, action="store_true", help="Remux from one container to mp4 using ffmpeg or avconv") + parser.add_option("--include-clips", dest="include_clips", default=False, action="store_true", + help="include clips from websites when using -A") (options, args) = parser.parse_args() if not args: @@ -493,4 +495,5 @@ def mergeParserOption(options, parser): options.get_all_subtitles = parser.get_all_subtitles options.get_raw_subtitles = parser.get_raw_subtitles options.convert_subtitle_colors = parser.convert_subtitle_colors + options.include_clips = parser.include_clips return options