Repository navigation
Support m4b, m4v and aac files, and folder drag and drop - #1595
Merged
Merged
Conversation
The audiobook (.m4b), video (.m4v) and audio (.aac) extensions were missing from the import filters, so those files could not be picked in the file dialog and were ignored by the watched folder. The file dialog patterns and the watched folder extension set were also two separate lists that had drifted apart. Both now derive from a single SUPPORTED_EXTENSIONS set in the transcriber module. Dropping a folder on the main window now queues the media files it contains, reusing the same walk as Import Folder, and dragMoveEvent is handled so the drop is accepted on platforms that require it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Collaborator
|
@openaudible thanks for your contribution! |
raivisdejus
enabled auto-merge (squash)
August 28, 2026 14:08
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1595 +/- ##
==========================================
- Coverage 83.56% 83.45% -0.12%
==========================================
Files 111 111
Lines 12625 12648 +23
==========================================
+ Hits 10550 10555 +5
- Misses 2075 2093 +18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Problem
.m4b(audiobooks),.m4vand.aacwere missing from the import filters, so those files could not be selected in the file dialog and were skipped by the watched folder.The dialog filter string and the watched-folder extension set were also maintained as two separate lists that had drifted apart.
Changes
.m4b,.m4vand.aacto the supported media extensions.SUPPORTED_EXTENSIONSset inbuzz/transcriber/transcriber.py, so the two can no longer drift.find_media_files_in_folder).dragMoveEventand set an explicitCopyAction, so drops are accepted on platforms that require the move event to be answered.Testing
Verified by dragging single files, multiple files and folders onto the main window, and by dropping
.m4bfiles into a watched folder.🤖 Generated with Claude Code