1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00

get_one_media: we should only show this error message when we cant find ffmpeg/avconv

fixes 813
This commit is contained in:
Johan Andersson 2018-02-21 21:38:07 -05:00
parent f42a50ca5f
commit 68553d9870

View File

@ -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: if stream.name() == "dash" or (stream.name() == "hls" and stream.options.segments) and post.detect:
post.merge() 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") 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: if stream.name() == "hls" or options.remux: