-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Currently Buzz only supports 1 watch folder at a time. Is it possible to support multiple directories, or at the very least allow subfolders to be detected too?
It should also ideally allow us to specify extensions to be processed, otherwise it is now processing everything and anything, like already processed .txt files, xls, etc, which then results in unhandled exceptions that the user has to manually intervene.
Also, the CLI is broken in the latest alpha build.
Error below:
Failed to execute script 'main' due to unhandled exception:
'NoneType' object has no attribute 'write'
Traceback (most recent call last):
File "multiprocessing\process.py", line 314, in bootstrap
File "multiprocessing\process.py", line 108, in run
File "buzz\transcriber\whisper_file_transcriber.py", line 167, in transcribe_whisper
File "buzz\transcriber\whisper_file_transcriber.py", line 239, in transcribe_faster_whisper
File "faster_whisper\transcribe.py", line 387, in transcribe
audio = decode_audio(audio, sampling_rate=sampling_rate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "faster_whisper\audio.py", line 46, in decode_audio
with av.open(input_file, mode="r", metadata_errors="ignore") as container:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "av/container/core.pyx", line 482, in av.container.core.open
File "av/container/core.pyx", line 298, in av.container.core.Container.cinit
File "av/container/core.pyx", line 318, in av.container.core.Container.err_check
File "av/error.pyx", line 424, in av.error.err_check
av.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input: 'e:/Downloads\1_續寫 - 單依純 Cover by 周興哲(Vocals).txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 4, in
File "buzz\buzz.py", line 52, in main
File "pyi_rth_multiprocessing.py", line 48, in _freeze_support
File "multiprocessing\spawn.py", line 122, in spawn_main
File "multiprocessing\spawn.py", line 135, in _main
File "multiprocessing\process.py", line 329, in _bootstrap
AttributeError: 'NoneType' object has no attribute 'write'