mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 19:55:38 +01:00
get_one_media: instead of using hardcoded name of fetcher check for audio
This commit is contained in:
parent
30f09b4bad
commit
dea461c198
@ -185,9 +185,9 @@ def get_one_media(stream):
|
||||
if stream.config.get("thumbnail") and hasattr(stream, "get_thumbnail"):
|
||||
stream.get_thumbnail(stream.config)
|
||||
post = postprocess(stream, stream.config, subfixes)
|
||||
if stream.name() == "dash" and post.detect:
|
||||
if stream.audio and post.detect:
|
||||
post.merge()
|
||||
if stream.name() == "dash" and not post.detect and stream.finished:
|
||||
if stream.audio 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.config.get("remux"):
|
||||
post.remux()
|
||||
|
Loading…
Reference in New Issue
Block a user