mirror of https://github.com/morpheus65535/bazarr
Fix for ffprobe not found under Windows.
This commit is contained in:
parent
39e658e913
commit
06092c14a9
|
@ -125,7 +125,7 @@ def get_binary(name):
|
||||||
name = "%s.exe" % name
|
name = "%s.exe" % name
|
||||||
elif platform.system() == "Darwin": # MacOSX
|
elif platform.system() == "Darwin": # MacOSX
|
||||||
system = 'MacOSX'
|
system = 'MacOSX'
|
||||||
if name == 'ffprobe':
|
if name in ['ffprobe', 'ffprobe.exe']:
|
||||||
dir_name = 'ffmpeg'
|
dir_name = 'ffmpeg'
|
||||||
|
|
||||||
exe_dir = os.path.abspath(os.path.join(binaries_dir, system, machine, dir_name))
|
exe_dir = os.path.abspath(os.path.join(binaries_dir, system, machine, dir_name))
|
||||||
|
|
Loading…
Reference in New Issue