Repository navigation
Add folder transcoding - #6698
Open
spaceXrace wants to merge 2 commits into
Open
spaceXrace wants to merge 2 commits into
spaceXrace wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds non-recursive folder transcoding to the CLI and Nautilus integration, including batch failure handling and migration support.
Changes:
- Transcodes matching direct folder children.
- Groups Nautilus batches by media type to reduce prompts.
- Adds automated coverage and deploys the updated extension via migration.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
bin/omarchy-transcode |
Implements folder batch transcoding. |
default/nautilus-python/extensions/transcode.py |
Adds folder and grouped multi-file actions. |
migrations/1786437940.sh |
Installs the updated Nautilus extension. |
test/shell.d/transcode-test.sh |
Covers CLI, migration, and Nautilus behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| extensions_dir="$HOME/.local/share/nautilus-python/extensions" | ||
|
|
||
| mkdir -p "$extensions_dir" | ||
| cp "$OMARCHY_PATH/default/nautilus-python/extensions/transcode.py" "$extensions_dir/" |
4 tasks done
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 pull request aims to make transcoding multiple files faster and more convenient:
Adding directory support to omarchy-transcode. For example,
omarchy-transcode folder/transcodes all images or videos in folder/.Changing the Nautilus integration to only ask about the output format once when multiple files are selected.
Tests
./test/shell.d/transcode-test.sh./test/clibash -n bin/omarchy-transcode migrations/1786437940.sh test/shell.d/transcode-test.shpython -m py_compile default/nautilus-python/extensions/transcode.pygit diff --check upstream/quattro...HEAD