Port list_renamed_vids.py into plexadm as list renames subcommand#13
Merged
Conversation
Add `plexadm list renames [--script] [filter]` which iterates all Plex videos and reports those whose filename does not match their title. Output is either a human-readable diff or shell mv commands (--script). Excludes Message/Post/PPV entries and titles containing '?', matching the original script's behaviour. Adds --base-dir to override the path prefix stripped from file locations (default: /data/NSFW Scenes/). Remove reference/legacy-python/list_renamed_vids.py now that the functionality is covered by the CLI. Update README with usage examples. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
plexadm list renames [--script] [filter]as a proper CLI subcommand, replacing the legacyreference/legacy-python/list_renamed_vids.pyscript--scriptoutputs shellmvcommands ready to execute?are skipped--base-diroverrides the path prefix stripped from file locations (default:/data/NSFW Scenes/)Test plan
make lintfix && make lint && make testpass cleanplexadm list renames "TUSHY"runs against live Plex and returns expected resultsplexadm list renames --script "TUSHY"outputs mv commands in correct format🤖 Generated with Claude Code