From 68553d9870136161a804fed020e8386b28a88e61 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Wed, 21 Feb 2018 21:38:07 -0500 Subject: [PATCH] get_one_media: we should only show this error message when we cant find ffmpeg/avconv fixes 813 --- lib/svtplay_dl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/__init__.py b/lib/svtplay_dl/__init__.py index 2c1a8f4..c5fa82f 100644 --- a/lib/svtplay_dl/__init__.py +++ b/lib/svtplay_dl/__init__.py @@ -354,7 +354,7 @@ def get_one_media(stream, options): if stream.name() == "dash" or (stream.name() == "hls" and stream.options.segments) and post.detect: post.merge() - if stream.name() == "dash" or (stream.name() == "hls" and stream.options.segments) and not post.detect and stream.finished: + if (stream.name() == "dash" or (stream.name() == "hls" and stream.options.segments)) and not post.detect and stream.finished: log.warning("Cant find ffmpeg/avconv. audio and video is in seperate files. if you dont want this use -P hls or hds") if stream.name() == "hls" or options.remux: