Skip to content

docs: cover every folder and filename form Silo reads, Mixed classification, and Ambiguous Roots - #79

Merged
zZebrahz merged 4 commits into
mainfrom
docs/media-naming
Oct 4, 2026
Merged

zZebrahz merged 4 commits into
mainfrom
docs/media-naming

Conversation

@zZebrahz

@zZebrahz zZebrahz commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Closes #41

The media folders guide left out many names Silo reads. It didn't say how episodes without a season link, which extras folders and suffixes count, what Silo skips, or how to keep files out of a scan. The libraries guide didn't explain how a Mixed library sorts movies from episodes, or where an administrator corrects that. Silo-Server/silo-server#1635 removed the server repo's copy of this material.

Some claims in the issue were wrong when checked against current source, so this PR doesn't follow it line by line. See "Corrections to the issue" below.

Pages changed

Page Change Preview
Prepare media folders and filenames Movie and series forms, provider ID forms, episode numbers without a season, which show a file belongs to, extras, ignore files, unidentified titles Open
Add and manage libraries How a Mixed library sorts each file; new section "Resolve ambiguous roots" Open
Use local NFO metadata Corrected the Mixed movie-folder rule; linked Ambiguous Roots Open

What changed on each page

Prepare media folders and filenames

  • Movies: release names without a year, [2024] years, title brackets such as [REC]. Generic names like title00.mkv take the title from a folder that names the movie.
  • Series: other season folder forms, number-first labels, Specials, episodes directly in the show folder, and season pack folders.
  • Provider IDs: IDs work in file names too. Only TMDB, TVDB, and IMDb IDs are read, never a bare number.
  • Also supported: more episode, multi-episode, air-date, season-label, and provider ID forms. Fixed the bare 01 season folder, which counts only in a Series library or with S01E03-style names.
  • New Episode numbers without a season: three-digit codes versus absolute numbers, when a seasonless file links, folder versus file precedence, and air-date linking.
  • New Show folders: which show an episode belongs to, and when several shows can share a folder.
  • Sidecars and extras: the full folder and suffix lists, and that extras work in show and season folders. Fixed the old claim that a top-level extras folder is ignored: its files are scanned as ordinary titles. Subtitles aren't read from a Subs folder.
  • New Leave files out of a scan: .nomedia, .ignore, .siloignore, plus the folders Silo skips on its own.
  • New If a title isn't identified: layouts that need a rename or a manual match.

Worth checking: the page is much longer now. The season-label list sits in the Also supported table, since readers name their own folders.

Add and manage libraries

  • Under Choose a library type: put every Mixed episode in a season folder, then the four-step order Silo uses to sort each file.
  • New Resolve ambiguous roots: why a folder is listed, the steps to set Override, Remove Override, Resolve, and Split Versions for merged items.

Use local NFO metadata

  • "A file in a folder named like a movie is a movie" became "A file in a folder with a TMDB or IMDb ID ... is a movie". A dated or TVDB-tagged show folder with S01E01 files is a series (silo-server#1642).

Corrections to the issue

  • A TVDB-only tag doesn't make a Mixed folder a movie folder. So the issue's example Show Name (2024) {tvdb-12345}/Show Name S01E03.mkv is a series, not a movie (filename_test.go, #1642).
  • Sample, Samples, Subs, and Subtitles are skipped only in Movies libraries. Subtitle detection doesn't read Subs folders.
  • Bloopers, Interviews, Scenes, and Shorts work only in the plural.
  • Several shows can share a folder only when that folder is a library folder. Elsewhere, such as tv/Downloads/, the folder becomes one show.
  • A season pack at the root of a Mixed library is classified as a movie, and a number folder directly in a library folder is a show name.
  • A digit run longer than five digits gives an episode with no number; it isn't ignored. The page just says "up to five digits".
  • Ambiguous Roots lists scanned groups whose titles conflict or that lack a show identity. That doesn't match the issue's four folder-level reasons, so the page names the two common cases.
  • .plexignore itself isn't read.

Left out on purpose

  • The Title (Year) rule in Mixed classification. Source treats a matching Title (Year) folder as movie evidence per file, but a dated show folder with S01E01 files still comes out as a series (TestMixedLibraryDatedShowFolderWithEpisodesIsSeries). The page gives only the rules that hold, plus "put episodes in season folders".
  • The edge case where a title can't rescue an absolute number that's also a per-season number with a different title. Too deep for the guide; listed as a troubleshooting-skill follow-up.
  • Extra edition words (Unrated, IMAX, Open Matte, ...) and episode forms such as [05], 05v2, E01a, and 301-305. The table already gives representative forms.
  • The full ignore-pattern syntax (!, **). The page points to .gitignore rules; listed as a troubleshooting-skill follow-up.
  • The audit counts and source-file references from the old server page.

Evidence

Source reviewed, not tested on a live server: silo-server 478afa525. Example paths not covered by tests were run through the parser (ResolvePathContext, InferRootAssignments, InferGroupIdentity) on an exported copy of that commit.

Needs a hands-on check:

  • What an admin sees for an episode file that isn't linked to an episode (no admin screen lists these that I could find).
  • That the new Ambiguous Roots steps match the screen: library picker, then Override dialog.
bun run test:docs: pass 8, fail 0
bun run build: 98 page(s) built; All internal links are valid.
git diff --check: clean

Follow-ups

  • silo-server: French Saison isn't a recognized season label. Show/Saison 2/E03.mkv becomes a show called "Saison 2".
  • silo-server: {edition-Director's Cut} gets the key directors_cut, but the words "Director's Cut" in a name get director_cut, so one edition can have two keys.
  • silo-server: the Ambiguous Roots table shows Override for folders holding several items, then rejects the save with an error.
  • silo-server: no admin view lists episode files that belong to a series but aren't linked to an episode.
  • Silo-Server/silo-troubleshooting-skill: add the detail too deep for the guide, so an agent can explain it from logs: an absolute number that's also a per-season number with a different title isn't rescued by the title, and the full .ignore pattern syntax (! negation, **).

Risks

None identified. Documentation only.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: Claude Code (T3 Code)
  • Tool(s): silo-docs-topic skill, humanizer skill, Opus subagents for source verification, git, gh, bun
  • Model(s): claude-opus-5-5[1m]
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a

Note

Document all folder and filename forms Silo reads, Mixed classification, and Ambiguous Roots

  • Expands media-folders.md to cover every movie and series folder/filename form: year and punctuation formats, provider IDs, localized season names, season packs, multi-episode files, air dates, extras folders, and ignore files.
  • Adds a Mixed library classification section to libraries.md, including season-folder precedence and edge cases for air-date and episode-only names.
  • Documents the full Ambiguous Roots workflow in libraries.md: locating, filtering, overriding, saving, and removing classification overrides, with all override fields explained.
  • Corrects local-metadata.md: movie folders are now recognized via TMDB or IMDb IDs, not generic movie-like names, and NFO files still do not change initial classification.

Macroscope summarized 4c00927.

@coderabbitai

coderabbitai Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d82674d8-aac9-42d1-a0e1-ab4b74b107e6
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@silo-kody

silo-kody Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while.

@silo-kody

silo-kody Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@zZebrahz
zZebrahz merged commit 268ca5d into main Oct 4, 2026
5 checks passed

This branch was previously deployed

1 inactive deployment
Preview — 4c009273 Deployed Oct 4, 2026 by zZebrahz via teardown #42
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.

docs: cover every folder and filename form Silo reads, Mixed classification, and Ambiguous Roots

1 participant