Skip to content

Add folder transcoding - #6698

Open
spaceXrace wants to merge 2 commits into
omacom:quattrofrom
spaceXrace:add-folder-transcoding
Open

spaceXrace wants to merge 2 commits into
omacom:quattrofrom
spaceXrace:add-folder-transcoding

Conversation

@spaceXrace

@spaceXrace spaceXrace commented Aug 11, 2026 •

Copy link
Copy Markdown

Summary

This pull request aims to make transcoding multiple files faster and more convenient:

  1. Adding directory support to omarchy-transcode. For example, omarchy-transcode folder/ transcodes all images or videos in folder/.

  2. 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/cli
  • bash -n bin/omarchy-transcode migrations/1786437940.sh test/shell.d/transcode-test.sh
  • python -m py_compile default/nautilus-python/extensions/transcode.py
  • git diff --check upstream/quattro...HEAD

Copilot AI balanced review requested due to automatic review settings August 11, 2026 09:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread migrations/1786437940.sh
extensions_dir="$HOME/.local/share/nautilus-python/extensions"

mkdir -p "$extensions_dir"
cp "$OMARCHY_PATH/default/nautilus-python/extensions/transcode.py" "$extensions_dir/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants