Skip to content

Commit

Permalink
fix for python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Aug 28, 2023
1 parent bb53e1f commit 64ce692
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = monkeyplug
version = 1.4.0
version = 1.4.1
author = Seth Grover
author_email = [email protected]
description = monkeyplug is a little script to mute profanity in audio files.
Expand Down
2 changes: 1 addition & 1 deletion src/monkeyplug/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""monkeyplug is a little script to mute profanity in audio files."""

__version__ = "1.4.0"
__version__ = "1.4.1"
__author__ = "Seth Grover <[email protected]>"
__all__ = []

Expand Down
13 changes: 13 additions & 0 deletions src/monkeyplug/monkeyplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import wave

from urllib.parse import urlparse
from itertools import tee

###################################################################################################
CHANNELS_REPLACER = 'CHANNELS'
Expand Down Expand Up @@ -358,6 +359,10 @@ def CreateIntermediateWAV(self):
ffmpegCmd = [
'ffmpeg',
'-nostdin',
'-hide_banner',
'-nostats',
'-loglevel',
'error',
'-y',
'-i',
self.inputFileSpec,
Expand Down Expand Up @@ -483,6 +488,10 @@ def EncodeCleanAudio(self):
ffmpegCmd = [
'ffmpeg',
'-nostdin',
'-hide_banner',
'-nostats',
'-loglevel',
'error',
'-y',
'-i',
self.inputFileSpec,
Expand All @@ -499,6 +508,10 @@ def EncodeCleanAudio(self):
ffmpegCmd = [
'ffmpeg',
'-nostdin',
'-hide_banner',
'-nostats',
'-loglevel',
'error',
'-y',
'-i',
self.inputFileSpec,
Expand Down

0 comments on commit 64ce692

Please sign in to comment.