Added PyDub

This commit is contained in:
Mark Qvist 2024-06-04 03:19:24 +02:00
parent 446181aa58
commit 53479d4700
11 changed files with 3344 additions and 0 deletions

View file

@ -0,0 +1,14 @@
"""
"""
import logging
converter_logger = logging.getLogger("pydub.converter")
def log_conversion(conversion_command):
converter_logger.debug("subprocess.call(%s)", repr(conversion_command))
def log_subprocess_output(output):
if output:
for line in output.rstrip().splitlines():
converter_logger.debug('subprocess output: %s', line.rstrip())