1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 01:27:07 +00:00

Fix for ffprobe not found under Windows.

This commit is contained in:
morpheus65535 2021-02-09 09:49:59 -05:00
parent 39e658e913
commit 06092c14a9

View file

@ -125,7 +125,7 @@ def get_binary(name):
name = "%s.exe" % name
elif platform.system() == "Darwin": # MacOSX
system = 'MacOSX'
if name == 'ffprobe':
if name in ['ffprobe', 'ffprobe.exe']:
dir_name = 'ffmpeg'
exe_dir = os.path.abspath(os.path.join(binaries_dir, system, machine, dir_name))