Skip to content

docs: explain complete playlists for copied video - #249

Merged
zZebrahz merged 7 commits into
mainfrom
docs/copy-keyframe-playlist
Nov 25, 2026
Merged

zZebrahz merged 7 commits into
mainfrom
docs/copy-keyframe-playlist

Conversation

@zZebrahz

@zZebrahz zZebrahz commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Closes #198

The playback guide doesn't mention Complete playlists for copied video, the experimental setting under Admin > Playback > Settings. Admins can't find out what it does, which streams it applies to, or how to test it.

The setting came in with Silo-Server/silo-server#1760. Its current behavior also comes from #2515 (0387303d9), #1770 (186c24a23), and #4400 (92763e4d0), all merged into main.

Pages changed

Page Change Preview
Set up transcoding and chapter previews New section "Use complete playlists for copied video" Open

What changed on each page

Set up transcoding and chapter previews

  • New section after Limit how far ahead Silo converts, the other setting in the Transcoding group, and before Limit connection speed tests. It gives the label, where it is (Advanced in Transcoding), and that it's experimental and off by default, then explains the complete playlist against the growing one.
  • Says it applies when Silo copies the video of an MKV or WebM file for most devices, and that other streams play as they do with the setting off.
  • Ends with what to do: test playing, seeking, and switching audio on your own devices, start a title again if it stops partway, and turn the setting off if that keeps happening.

Left out on purpose

  • The claim that the setting stops Safari freezing. The section says Safari can stop on a growing playlist, which is the problem the setting targets. It doesn't promise the fix, because no one has played it in Safari or on a device yet (see #1760 and #1770).
  • How the setting works inside: the exact conditions (keyframe index, fMP4 against MPEG-TS, resumes, file length), how seeks and audio switches restart the copy, how a file with a wrong index falls back, and when a rebuilt stream fails. The reader can't act on any of it beyond starting a title again or turning the setting off. It's an experimental feature, and three of these details changed within a month of the first draft.
  • No caveat on Watch movies and series or Fix playback problems. Nothing has been checked on a player yet that a viewer would need to know about. Chapter preview PR docs(playback): explain chapter and marker previews #127, now merged, doesn't touch this section.

Evidence

Source reviewed, not tested on a live server or device:
silo-server main abbf8e0ad (setting from #1760, merge a044982ac; #2515 0387303d9, #1770 186c24a23, #4400 92763e4d0). silo-apple 5cdcf4a5 and silo-android b7c0412af were fetched. Neither app has client code for this setting: the server builds the playlist for every client.

Needs a hands-on check: playback, seeking and audio switching in Safari, hls.js, Media3, and Jellyfin-compatible apps with the setting on. Also what a viewer sees when a stream stops partway.

bun run test:docs   ℹ tests 8  ℹ pass 8  ℹ fail 0
bun run build       [build] 111 page(s) built ... [build] Complete!
git diff --check    clean
Search: 161 of 171 queries find an expected page in the top 3.

Follow-ups

  • Consider a search keywords or questions entry for this section. The page already has six questions, the limit, so one would have to replace another.
  • Move the internals cut from this section (conditions, seek and audio-switch restarts, index fallback, rebuild failure) to Silo-Server/silo-troubleshooting-skill, where an agent reading logs can use them.

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 Agent SDK) in T3 Code
  • Tool(s): Claude Code, GitHub CLI, git, bun, silo-docs and humanizer skills
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: Sol (gpt-6.2-sol), medium effort, 1 round, 2 of 8 findings applied before the section was cut to its short form; Opus and Gemini not run (Sol-only review at the user's request)

Note

Document "Complete playlists for copied video" setting

Adds a section to playback.md explaining the experimental "Complete playlists for copied video" setting, which is off by default. Covers eligibility conditions, fallback cases, playlist and seek behavior, audio-track switching, and stream-rebuild behavior.

Macroscope summarized c9c959c.

@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Oct 18, 2026
@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

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

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 25744607-20c7-4a7c-ab4a-e917b5de04a6
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@silo-kody

silo-kody Bot commented Oct 18, 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 ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects

@zZebrahz

Copy link
Copy Markdown
Contributor Author

Draft until Silo-Server/silo-server#2515 and Silo-Server/silo-server#1770 are merged into main. The docs describe those changes, and their labels or defaults may still change in review.

@silo-triage silo-triage Bot added documentation Improvements or additions to documentation triaged High-confidence review completed; does not mean fixed, validated, or accepted for release. labels Oct 18, 2026
@github-actions

github-actions Bot commented Oct 18, 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.

@zZebrahz

Copy link
Copy Markdown
Contributor Author

Ready for review: Silo-Server/silo-server#2515 merged as 0387303d9, and Silo-Server/silo-server#1770 as 186c24a23. The review thread checks these pages against current main before this merges.

silo-server#4400 plans a resumed copy stream from its resume keyframe to the end, so a resume no longer falls back to the growing playlist.
Main also packages copied video as MPEG-TS for Roku and for Jellyfin-compatible clients whose profile asks for it, not only MPEG-2 and Dolby Vision on LG TVs. Name the rule rather than a list that keeps growing.
…a restart

keyframes.Reject keeps rejections in memory, so a restart reads and checks the file again.
…, and how audio switches remake segments

Limit the fallback to copied streams. On a mismatch, copy_group_assembler stops placing groups, so the title can stall until it's started again. An audio switch discards the old segments and remakes them only when requested (copyGroupAssembler.startRun). From the Sol review (S3, S4).
@silo-kody

silo-kody Bot commented Nov 25, 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 ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects


## Use complete playlists for copied video

Turn on **Complete playlists for copied video**, under **Advanced** in **Transcoding** on **Admin > Playback > Settings**, to send the player every segment of a video as soon as playback starts. It's experimental and off by default. Without it, when Silo repackages a file without converting its video, the player gets a playlist that grows as Silo copies the video. Some players handle that badly: Safari, for example, can stop partway through a video. With the setting on, Silo plans the segments from the file's own keyframes before it starts copying. A resumed title's playlist runs from where it resumes to the end.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Kody Rules high

Resumed-playlist behavior is presented as already available

Users may expect resumed playlists to work this way before the pending server changes are available. Qualify the behavior as proposed.

Also found in:

  • src/content/docs/docs/running-a-server/playback.md:103-103
  • src/content/docs/docs/running-a-server/playback.md:98-98
  • src/content/docs/docs/running-a-server/playback.md:101-101

Kody rule violation: Qualify playback documentation by implementation availability

Prompt for LLM
File src/content/docs/docs/running-a-server/playback.md, line 93:

Resumed-playlist behavior is presented as already available

Qualify the resumed-playlist behavior as proposed. The PR description says the section depends on open server changes, so this should not be presented as behavior available to all users of the existing setting.

**Also found in:**
- `src/content/docs/docs/running-a-server/playback.md:103-103`
- `src/content/docs/docs/running-a-server/playback.md:98-98`
- `src/content/docs/docs/running-a-server/playback.md:101-101`

Kody rule violation: [Qualify playback documentation by implementation availability](https://kodus.siloserver.org/settings/code-review/1247779129/kody-rules/efe5218f-b87c-4b64-81da-675ed3c8c7e7?teamId=ba9922fc-c0ea-4cf8-87bb-9d4f42ffc73e)

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

…aylist

# Conflicts:
#	src/content/docs/docs/running-a-server/playback.md
… act on

Keep the label, purpose, scope, what to test, and how to back out. Drop the eligibility list, seek and audio-switch mechanics, index rejection, and rebuild failure: they describe internals the reader can't act on, and they changed three times in a month.
@silo-kody

silo-kody Bot commented Nov 25, 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 ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects


**Complete playlists for copied video**, under **Advanced** in **Transcoding** on **Admin > Playback > Settings**, is experimental and off by default. When Silo repackages a file without converting its video, the player normally gets a playlist that grows as Silo copies the video, and some players handle that badly: Safari, for example, can stop partway through. With the setting on, Silo lists every segment when playback starts, using the file's keyframes.

It applies when Silo copies the video of an MKV or WebM file for most devices. Other streams play as they do with the setting off. Before leaving it on, test playing, seeking, and switching audio on the devices you use. If a title stops partway, start it again, and turn the setting off if that keeps happening.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kody code-review Kody Rules high

Playlist compatibility is presented without an implementation qualifier

Readers may expect the described stream coverage in server versions that do not support it. Qualify it against the proposed changes in Silo-Server/silo-server#2515 and Silo-Server/silo-server#1770.

Kody rule violation: Qualify playback documentation by implementation availability

Prompt for LLM
File src/content/docs/docs/running-a-server/playback.md, line 113:

Playlist compatibility is presented without an implementation qualifier

Qualify the compatibility description against the server changes that implement it. The setting itself is merged, but the PR identifies the fMP4-only rule and Cues-based planning as behavior from open changes, so this paragraph should not present the proposed stream coverage as available in every version.

Kody rule violation: [Qualify playback documentation by implementation availability](https://kodus.siloserver.org/settings/code-review/1247779129/kody-rules/efe5218f-b87c-4b64-81da-675ed3c8c7e7?teamId=ba9922fc-c0ea-4cf8-87bb-9d4f42ffc73e)

Suggested code:

The proposed changes in Silo-Server/silo-server#2515 and #1770 apply complete playlists when Silo copies video from an eligible MKV or WebM file and packages it as fMP4. These changes are not yet merged; check your server version before relying on this behavior. Other streams use the growing playlist. Before leaving the setting on, test playing, seeking, and switching audio on the devices you use. If a title stops partway, start it again, and turn the setting off if that keeps happening.

Talk to Kody by mentioning @kody

Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.

​

​

@zZebrahz
zZebrahz merged commit 6f97976 into main Nov 25, 2026
5 checks passed

This branch was previously deployed

1 inactive deployment
Preview — c51ff97f Deployed Nov 25, 2026 by zZebrahz via teardown #236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/S 0–49 added + deleted lines (all files); change volume, not priority. triaged High-confidence review completed; does not mean fixed, validated, or accepted for release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: document complete copy playlists and recovery limits

1 participant