Skip to content

Add Auto Group plugin - #778

Open
spesometro2026 wants to merge 3 commits into
stashapp:mainfrom
spesometro2026:add-autogroup-plugin
Open

spesometro2026 wants to merge 3 commits into
stashapp:mainfrom
spesometro2026:add-autogroup-plugin

Conversation

@spesometro2026

Copy link
Copy Markdown

Automatically creates and assigns Stash Groups from customizable filename rules (regex).

Repo: https://github.com/spesometro2026/stash-autogroup-plugin

LLM-assisted development; reviewed and tested by a human before submission.

spesometro2026 and others added 3 commits September 23, 2026 11:29
- Two-level numbering: "Title - Scene 1 - Part 3" -> group "Title - Scene 1" at position 3;
  "Title Day 3 (Scene 2)" -> group "Title - Day 3" at position 2 (previously all shared one index).
- Accept en/em dashes as separators and trim leftover separators from group names.
- Keep the scene_index of a scene's other groups when "skip already grouped" is off.
- Optional capture groups that did not match are treated as empty instead of "None".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Group names derived from filenames are now matched against existing groups ignoring case and
punctuation, also trying the part after the first " - ", so scenes join the existing group
instead of creating a near-duplicate that splits the series. Ambiguous matches are skipped and
logged; spelling variants of a new group within one run are merged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

2 participants