Skip to content

feat: add bulk audio renamer with whisper transcription support#1481

Open
idocinthebox wants to merge 2 commits into
chidiwilliams:mainfrom
idocinthebox:feature/bulk-audio-renamer
Open

feat: add bulk audio renamer with whisper transcription support#1481
idocinthebox wants to merge 2 commits into
chidiwilliams:mainfrom
idocinthebox:feature/bulk-audio-renamer

Conversation

@idocinthebox
Copy link
Copy Markdown

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 workflow
    • buzz/transcriber/bulk_renamer.py - Core bulk renaming logic and transcription pipeline
    • buzz/transcriber/whisper_file_transcriber.py - Fixes and improvements for bulk processing support
    • buzz/transcriber/whisper_cpp.py - Fixes for whisper.cpp backend compatibility
    • buzz/whisper_audio.py - Audio processing pipeline improvements
    • hatch_build.py - Build system updates
    • Buzz.spec / Makefile - Build configuration updates
    • build_buzz.bat - Windows build script
    • .vscode/ - VS Code workspace configuration

Fork and others added 2 commits May 5, 2026 16:41
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant