feat: add bulk audio renamer with whisper transcription support#1481
Open
idocinthebox wants to merge 2 commits into
Open
feat: add bulk audio renamer with whisper transcription support#1481idocinthebox wants to merge 2 commits into
idocinthebox wants to merge 2 commits into
Conversation
Adds a new menu entry (File → Rename Audio Files…) and CLI command (buzz rename) that bulk-renames audio files in a folder based on the first few transcribed words of each file. Reuses Buzz's existing offline transcription pipeline so no third-party API or internet connection is required. Works with any of Buzz's existing model backends (Whisper, Whisper.cpp, Faster-Whisper, HuggingFace). New files: buzz/transcriber/bulk_renamer.py — engine (~495 lines) buzz/widgets/bulk_rename_dialog.py — PyQt6 preview/apply dialog tests/transcriber/bulk_renamer_test.py — 20 unit tests docs/docs/usage/6_rename_audio_files.md — user docs Modified: buzz/cli.py — new `rename` subcommand buzz/widgets/menu_bar.py — new bulk_rename_action under File buzz/widgets/main_window.py — wire bulk_rename signal to dialog docs/docs/cli.md — document the new `rename` command
- Add bulk rename dialog with transcription-based file renaming - Fix whisper_cpp and whisper_file_transcriber for bulk processing - Fix whisper_audio processing pipeline - Add build scripts and VS Code workspace config - Update Buzz.spec and Makefile for new features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a Bulk Audio Renamer feature to Buzz, allowing users to automatically rename audio files based on their transcribed content using Whisper.
Changes
buzz/widgets/bulk_rename_dialog.py- New bulk rename dialog UI with transcription-based file renaming workflowbuzz/transcriber/bulk_renamer.py- Core bulk renaming logic and transcription pipelinebuzz/transcriber/whisper_file_transcriber.py- Fixes and improvements for bulk processing supportbuzz/transcriber/whisper_cpp.py- Fixes for whisper.cpp backend compatibilitybuzz/whisper_audio.py- Audio processing pipeline improvementshatch_build.py- Build system updatesBuzz.spec/Makefile- Build configuration updatesbuild_buzz.bat- Windows build script.vscode/- VS Code workspace configuration