Part Suffix Patterns — Settings & Player UI

Updated: live preview scales to thousands of files via summary-first grouping; player C4 moves filename out of the strip.

A · Settings UI · Three syntax styles

A1 · Token-based RECOMMENDED

Use {N} for digits, {L} for a single letter. Anything else is a literal. Matches at the end of the filename, after the code.

A2 · Glob-based

Familiar shell-glob style. * = anything, [0-9] = digit, [A-Z] = letter.

A3 · Raw regex

Anchored to end of filename stem. The first capture group is the part identifier (used for sort order).

B · Live Preview · Scales to thousands of files

B1 · Summary-first · default view

2,047 files · 28 multi-file records

Most rows in your library don’t affect this decision — single-file records classify trivially. Default view shows only multi-file records as collapsed groups, so you scan ~30 rows instead of 2,000. Click to drill in.

YUJ-001
4 files 4 var
YUJ-001 - Ichika Matsumoto [1080p].mp4Variant
YUJ-001 - Ichika Matsumoto [1080p].fixed.mp4Variant
YUJ-001 - Ichika Matsumoto [1080p].nobf.mp4Variant
YUJ-001 - Ichika Matsumoto [1080p].restored.mp4Variant
IBW-349
2 files 2 part
IBW-349-cd1.mp4Part 1
IBW-349-cd2.mp4Part 2
IBW-341
2 files 2 part
IBW-342
2 files 2 part
IBW-348
2 files 2 part
SDDE-617
3 files 2 part 1 var ⚠ mixed
SDDE-617-cd1.mp4Part 1
SDDE-617-cd2.mp4Part 2
SDDE-617.restored.mp4Variant
… 22 more multi-file records
Total scanned
2,047 files
Multi-file records
24 part groups · 18 variant groups
Standalone
1,949 files
⚠ Mixed
3 records · review

B2 · Stats-only · alternative for small panels

If the settings panel is cramped, skip the file list entirely and show per-pattern hit counts. Click any pattern to see the matching files in a side drawer.

-cd{N}
14 matches · 7 records
.part{N}
6 matches · 3 records
_{N}
22 matches · 11 records
_{L}
6 matches · 3 records
unmatched
87 files · 18 records (variants)

Stats-only fits in narrow panels. The grouped view (B1) is better for diagnosing why a record didn’t classify the way you expected.

C · Player UI · C4 with filename moved to header

C4 · Parts strip + variants dropdown · filename in player header

SDDE-617 · 2 parts · 1 variant
Playing
SDDE-617 Some Actress, Other Actress
SDDE-617-cd1.mp4 · 4.27 GB · 1080p H.264
▷ DIRECT
[ video element ]
Parts

What changed: filename moved from the parts strip into the player header (third line under code/actresses), prefixed with to mark the active file. Adds tech badges (size, resolution, codec) inline. The strip below becomes purely navigation. Truncates with ellipsis on narrow viewports; full filename available via title-tooltip on hover.

C4-open · variants dropdown expanded

user clicked the variants dropdown
Playing
YUJ-001 Ichika Matsumoto
YUJ-001 - Ichika Matsumoto [1080p].fixed.mp4 · 4.90 GB · 1080p H.264 · with B-frames
⚙ TRANSCODE
[ video element ]
Variants no parts on this record
Switch encode

Dropdown open: each variant labeled by its suffix, file size shown so you can pick the right one. The bullet (●) marks the currently-selected variant. When a record has no real parts (like YUJ-001), the parts strip shows an italic placeholder rather than empty space.

D · Full settings panel · token editor + scaled preview

Part Suffix Patterns

Files matching get grouped as sequential Parts. Files with no match are Variants — alternate encodes of the same content. Use {N} for a number, {L} for a single letter. Match is anchored to the end of the filename, after the code.

Advanced:

Live preview

2,047 files · 28 multi-file records
YUJ-001 4 var
IBW-349 2 part
IBW-341 2 part
IBW-342 2 part
IBW-348 2 part
SDDE-617 2 part1 var
… 22 more
24 part groups
18 variant groups
⚠ 3 mixed (review)

This is the production shape. Token editor on the left, summary preview on the right. Mixed records flagged amber so they bubble to the user's attention. “Save & Rescan” commits the patterns and triggers a video index refresh.