Skip to content

docs: chapter thumbnails work with local artwork storage - #44

Merged
zZebrahz merged 4 commits into
Silo-Server:mainfrom
Tobechukwu-Njoku:docs/chapter-thumbnails-local-storage
Sep 29, 2026
Merged

zZebrahz merged 4 commits into
Silo-Server:mainfrom
Tobechukwu-Njoku:docs/chapter-thumbnails-local-storage

Conversation

@Tobechukwu-Njoku

@Tobechukwu-Njoku Tobechukwu-Njoku commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: #36

The manual tells admins that chapter preview images need a public S3 bucket, even when artwork uses local disk. They don't: previews go to artwork storage, which is local disk on a default install. Admins of single-host servers are told to set up S3 they don't need, or conclude the feature isn't available to them. The same section tells them to check Admin > Scheduled Tasks for failures, but the Chapter Thumbnail Backfill task is hidden there, so a failure leaves them with nowhere to look.

This fixes the chapter thumbnail parts of #36. The branding upload line in #36 is left for a separate change.

Approach

  • Playback (/docs/playback#generate-chapter-thumbnails): say previews use artwork storage on local disk or S3, drop the "set up public storage" step, and say what queues generation (opening a title's page, starting playback, and a check every six hours). Add an "If previews don't appear" subsection: where to find the chapterthumbs log lines in Admin > Logs, what each reason means, and the retry timing, including the file-level cooldown that skips a file for up to 24 hours.
  • Storage (/docs/s3-storage) and Installation options (/docs/installation-options): delete the sentence saying thumbnails need public S3. docs: chapter thumbnails and branding uploads work with local artwork storage #36 lists the installation page; the storage page repeats the same claim.

The troubleshooting material comes from Silo-Server/silo-server#1617, which was closed so the guide could move here. It expands the existing section rather than adding a page.

Validation

Source reviewed, not tested on a device. Each claim was checked against silo-server at the manual's baseline revision cb0b8b75 (src/data/docs-release.mjs) and at current main:

  • configureArtworkStorage opens a filesystem store for Local disk, or Automatic without a public bucket, and the chapter thumbnail service writes to that store. The library editor enables Generate chapter thumbnails when the store exists (ChapterThumbnailsSupported = h.ArtworkStore != nil).
  • The Chapter Thumbnail Backfill task is hidden and runs every six hours. The watch detail page and playback both queue thumbnail work.
  • Admin > Logs has a Component filter and shows each entry's Attributes. Every reason in the table is logged by internal/chapterthumbs, and the retry schedule and file cooldown match chapterThumbnailRetrySchedule, shouldApplyFileFailure and buildFileFailure.
$ bun install --frozen-lockfile
380 packages installed
$ bun run test:docs
ℹ tests 8  ℹ pass 8  ℹ fail 0
$ bun run build
[build] Complete!

Checked the rendered section with astro preview at desktop width and at 375 px: the table fits without horizontal scrolling, and the new #if-previews-dont-appear anchor resolves.

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 (Claude desktop app)
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a for this port. The troubleshooting material was reviewed against the server code by a maintainer in docs(wiki): add an operator guide for chapter thumbnails silo-server#1617 before it was redirected here, and each claim was re-checked at the manual's baseline revision.

Note

Update docs: chapter thumbnails support local artwork storage

Docs-only change removing the requirement that chapter thumbnails use public S3 storage.

  • installation-options.md and s3-storage.md drop the public-S3 requirement for chapter thumbnails
  • playback.md now says previews are stored in the configured artwork storage (local disk or S3), documents queuing on title open/play, six-hour checks for missing previews, and adds troubleshooting (HDR/Dolby Vision skips, S3 credentials, retries, log filtering)

Macroscope summarized a766236.

Three pages said chapter preview images need public S3 storage, even when
artwork uses local disk. The chapter thumbnail service writes to the
artwork store, which is a local directory on a default install, and the
library editor enables the switch whenever that store exists. The
troubleshooting step also sent admins to Admin > Scheduled Tasks, where
the Chapter Thumbnail Backfill task is hidden.

Drop the S3 requirement from the playback, storage and installation
pages. Replace the Scheduled Tasks step with the chapterthumbs log
reasons and the retry and file cooldown timing, taken from
Silo-Server/silo-server#1617.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kody-ai

kody-ai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Code Review Completed! 🔥

The code review was successfully completed based on your current configurations.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the `@kody start-review` command at the root of your PR.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Providing Context (Files & MCPs)

Add these hints in your PR description (or a comment) to unlock deeper checks:

  • Ticket / Acceptance Criteria: `Refs: ABC-123` (Linear/Jira/Asana/ClickUp/Trello) or a direct ticket link.
  • Bugfix Validation: a Sentry/Datadog/Bugsnag event link (or paste the stack trace/error message).
  • Endpoint Risk: mention the route (e.g., `POST /api/payments`) or controller/action name.
  • Attach a repo file as context: use an explicit marker like `@file:docs/guide.mdx#L10-L50` (replace with your real path).
  • API Contract Docs: include `@file:openapi.yaml` or `@file:swagger.json` when changing routes/schemas.
  • Definition of Done / Standards: include `@file:DOD.md` or `@file:CONTRIBUTING.md` if your repo has them.
  • Design System Source of Truth: include `@file:ui/index.ts` (replace with your DS entrypoint path).
  • Feature Flags: include the flag key/name and `@file:flags.ts` / `@file:config.json` (and optionally the PostHog flag name).
  • Edge/CDN Rules: link the Cloudflare rule/zone or describe the intended redirect/header behavior.
  • Attach an MCP tool output: use `@mcp<provider|tool>` (replace with an installed MCP provider + tool, e.g., `@mcp<sentry|events.search>`).
Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

Access your configuration settings here.

@coderabbitai

coderabbitai Bot commented Sep 28, 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: b8a55645-308f-4ece-b587-0e7e0be5755b


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.

@kody-ai

kody-ai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Code Review Completed! 🔥

The code review was successfully completed based on your current configurations.

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the `@kody start-review` command at the root of your PR.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Providing Context (Files & MCPs)

Add these hints in your PR description (or a comment) to unlock deeper checks:

  • Ticket / Acceptance Criteria: `Refs: ABC-123` (Linear/Jira/Asana/ClickUp/Trello) or a direct ticket link.
  • Bugfix Validation: a Sentry/Datadog/Bugsnag event link (or paste the stack trace/error message).
  • Endpoint Risk: mention the route (e.g., `POST /api/payments`) or controller/action name.
  • Attach a repo file as context: use an explicit marker like `@file:docs/guide.mdx#L10-L50` (replace with your real path).
  • API Contract Docs: include `@file:openapi.yaml` or `@file:swagger.json` when changing routes/schemas.
  • Definition of Done / Standards: include `@file:DOD.md` or `@file:CONTRIBUTING.md` if your repo has them.
  • Design System Source of Truth: include `@file:ui/index.ts` (replace with your DS entrypoint path).
  • Feature Flags: include the flag key/name and `@file:flags.ts` / `@file:config.json` (and optionally the PostHog flag name).
  • Edge/CDN Rules: link the Cloudflare rule/zone or describe the intended redirect/header behavior.
  • Attach an MCP tool output: use `@mcp<provider|tool>` (replace with an installed MCP provider + tool, e.g., `@mcp<sentry|events.search>`).
Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

Access your configuration settings here.

@zZebrahz

Copy link
Copy Markdown
Contributor

Thanks for catching the S3 claim. The storage fix is right, and I've kept it on all three pages.

I pushed three commits on top of yours:

  • 4f1a847 tightens the wording in step 3 and the troubleshooting section.
  • 1fe9d9f replaces the log reason table and retry timings with a short list of things to check. No other docs page goes down to log attributes or retry schedules; they name the likely cause and the screen to look at. The section still points to the chapterthumbs log filter.
  • a766236 changes "starts" back to your original "queues".

Your reason table is accurate, and it would fit in silo-troubleshooting-skill, where an agent can read the log attributes for the admin. That skill doesn't cover chapter thumbnails yet, so a PR there would be welcome.

@zZebrahz
zZebrahz merged commit 833ab4f into Silo-Server:main Sep 29, 2026
3 checks passed
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