mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
getmedia: right import path to which
This commit is contained in:
parent
836084f1fb
commit
8192fe025d
@ -87,7 +87,7 @@ def get_one_media(stream, config):
|
|||||||
if not filename(stream):
|
if not filename(stream):
|
||||||
return
|
return
|
||||||
if config.get("merge_subtitle"):
|
if config.get("merge_subtitle"):
|
||||||
from svtplay_dl.utils import which
|
from svtplay_dl.utils.proc import which
|
||||||
if not which('ffmpeg'):
|
if not which('ffmpeg'):
|
||||||
log.error("--merge-subtitle needs ffmpeg. Please install ffmpeg.")
|
log.error("--merge-subtitle needs ffmpeg. Please install ffmpeg.")
|
||||||
log.info("https://ffmpeg.org/download.html")
|
log.info("https://ffmpeg.org/download.html")
|
||||||
|
Loading…
Reference in New Issue
Block a user