Skip to content

Skip multi-location videos in list renames --script mode#16

Merged
jasmeralia merged 1 commit into
masterfrom
fix/list-renames-skip-multi-in-script
May 19, 2026
Merged

Skip multi-location videos in list renames --script mode#16
jasmeralia merged 1 commit into
masterfrom
fix/list-renames-skip-multi-in-script

Conversation

@jasmeralia

Copy link
Copy Markdown
Owner

Summary

  • In --script mode, videos with multiple file locations are now silently skipped entirely
  • Previously they would silently emit a mv for locations[0] only, which was wrong — the other locations would be left behind unhandled
  • Output mode (no --script) already shows a WARNING: for these entries, so they still surface for manual review

Test plan

  • make lint passes clean
  • plexadm list renames --script no longer emits mv commands for multi-location videos

🤖 Generated with Claude Code

Previously, --script mode would silently emit a mv command for
locations[0] only when a video had multiple file locations, ignoring
the rest. Since the right action for multi-location entries is
ambiguous, skip them entirely in script mode so the generated
commands are always safe to run as-is. Output mode already shows
a WARNING for these entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jasmeralia jasmeralia merged commit 7b1a11b into master May 19, 2026
1 check passed
@jasmeralia jasmeralia deleted the fix/list-renames-skip-multi-in-script branch May 19, 2026 22:22
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