From f0314c9c62c1fd8d0ad7c3a3252188c70c8b9be8 Mon Sep 17 00:00:00 2001 From: sarahayu <46186848+sarahayu@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:39:40 -0800 Subject: [PATCH 1/2] fix DMG not finding FFMPEG --- gentle/resample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentle/resample.py b/gentle/resample.py index 513f7941..a061d794 100644 --- a/gentle/resample.py +++ b/gentle/resample.py @@ -68,7 +68,7 @@ def resample_sox(infile, outfile, offset=None, duration=None): def resample(infile, outfile, offset=None, duration=None): if not os.path.isfile(infile): raise IOError("Not a file: %s" % infile) - if shutil.which(FFMPEG): + if shutil.which(FFMPEG) or os.path.exists(FFMPEG): return resample_ffmpeg(infile, outfile, offset, duration) else: return resample_sox(infile, outfile, offset, duration) From e51b22d2e16b7b01dba9cbbfff5cba8f1ca5ee24 Mon Sep 17 00:00:00 2001 From: sarahayu <46186848+sarahayu@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:47:13 -0800 Subject: [PATCH 2/2] bump version --- gentle/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentle/__version__.py b/gentle/__version__.py index e754a834..f323a57b 100644 --- a/gentle/__version__.py +++ b/gentle/__version__.py @@ -1 +1 @@ -__version__ = '0.10.1' +__version__ = '0.11.0'