Skip to content

docs: explain AI subtitle failure reasons, reused translations and transcription-only servers - #241

Merged
zZebrahz merged 14 commits into
mainfrom
docs/ai-subtitle-failures
Nov 25, 2026
Merged

zZebrahz merged 14 commits into
mainfrom
docs/ai-subtitle-failures

Conversation

@zZebrahz

@zZebrahz zZebrahz commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Closes #159

Documents Silo-Server/silo-server#2271 (failure reasons) and Silo-Server/silo-server#2272 (reused translations), both merged, along with Silo-Server/silo-server#2273, Silo-Server/silo-apple#726, Silo-Server/silo-android#544 and Silo-Server/silo-android#547, also on main.

The AI subtitle docs told viewers to forward any error to the admin. They didn't say that asking for an existing translation reuses the saved track, or that a server with translation off offers transcription only in the spoken language. Android's new AI Translation and AI Transcription labels, and Android TV's AI mark, weren't mentioned either.

Pages changed

Page Change Preview
Find or add missing subtitles Transcription-only servers, Android AI labels, reused translations, failure messages Open
Configure AI services One paragraph each in "Connect speech-to-text", "Limit cost and server load" and "A test or job fails" Open

What changed on each page

Find or add missing subtitles

  • With AI translation off, audio subtitles come only in the spoken language. Quotes the web and Android note; on Apple devices the other languages can't be selected.
  • On Android phones and tablets, AI tracks are labeled AI Translation or AI Transcription; Android TV marks them AI.
  • Asking for an existing translation (same track, same language) doesn't make a new one. The player selects the saved track. For a fresh one, ask the server admin to delete the AI track.
  • Replaces "share the error message with the person who runs your server": the message says why, and the ones asking for an administrator are for the admin.
  • Adds the search question "Why did my AI subtitles fail?".

The viewer page says to ask the admin to delete the track: no app offers viewers a delete control, and the web app deletes stored tracks from Admin > Libraries > Subtitle Files (still its path after silo-server#5087, which split only the Libraries page into tabs).

Configure AI services

  • Connect speech-to-text: with Translate subtitles off or no working text model, viewers transcribe only into the spoken language.
  • Limit cost and server load: a repeat request for the same track, language and model reuses the saved translation without calling the provider. Deleting the track under Admin > Libraries > Subtitle Files allows a new one. After the subtitle file is edited, or a video with built-in subtitles is replaced, the next request translates again. Transcription always runs again.
  • A test or job fails: viewers see the reason. Causes the admin has to fix, such as billing, rejected credentials, a model or endpoint the provider doesn't offer, and too-large requests, point them to the admin; too-large requests usually name Subtitle lines per request or Audio per request. The provider's error is logged in Admin > Logs > Server Log.

Overlap: #145 and #160 have merged, and this branch now merges main. The spoken-language paragraph sits after step 4 of Connect speech-to-text, before the ChatGPT plan note. Open #446 adds a section after that note, so the two merge cleanly in either order.

Left out on purpose

  • The full list of failure messages: the page names the kinds that need the admin and quotes one example.
  • The brief playback pause while the first AI lines are prepared (optional in the issue): it's player timing and changes easily.
  • How the source track is matched (content hash, stream, file size and time): too deep. "Editing the subtitle file or replacing the video" gives the outcome.

Evidence

Source reviewed, not tested on a live server or device:
silo-server abbf8e0ad (main, includes #2271 b008d72de and #2272 2102bf7d6); silo-apple 5cdcf4a5; silo-android b7c0412af; docs main d1a0e92.

  • Failure messages: internal/subtitles/ai/failure.go. The web toast shows the reason under "Subtitle processing failed", and the Apple and Android players show the same reason.
  • Reuse: internal/subtitles/ai/service.go and source_identity.go; web message in SubtitleTranslateModal.tsx.
  • Spoken-language note: SubtitleTranslateModal.tsx (web, #2273), SubtitleAiSupport.kt and TvAiTranslateDialog.kt (Android, #547), SubtitleTranslateMenu.swift (Apple, #726).
  • Android labels: SubtitleTrackDisplayLabel.kt (#544); Android TV chip in TvPlayerHud.kt.

Reused tracks: from source, every player selects one on its own (web SubtitleTranslateModal.tsx; Apple SubtitleAIController.swift hands off an already-completed job; Android phone and TV poll the returned job and select its result). Not yet tried on a device.

ℹ tests 8
ℹ pass 8
[build] 111 page(s) built
All internal links are valid.
Search: 161 of 171 queries find an expected page in the top 3.
git diff --check: clean

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 (in T3 Code)
  • Tool(s): Claude Code, silo-docs and humanizer skills, gh, bun
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: Sol (gpt-6.2-sol), medium effort, 1 round, 6 of 6 findings applied (S1, S3 and S5 adjusted); Opus and Gemini not run at the user's request

Note

Document AI subtitle failures, translation reuse, and transcription-only servers

  • Updates ai-services.md with troubleshooting for AI subtitle failures: viewer-facing error messages, administrator-action causes, request-size settings to lower, retry guidance, and where provider errors are logged.
  • Documents that transcription without translation (or without a working text model) yields subtitles only in the spoken language.
  • Explains how saved translations are reused for repeat requests with the same track, language, and model, and what triggers a new translation.
  • Updates missing-subtitles.md with user-side guidance: the message shown in web, Android, and Apple apps, AI track labels, how to request deletion before a fresh translation, and when to contact a server administrator.

Macroscope summarized bed55e1.

@zZebrahz

Copy link
Copy Markdown
Contributor Author

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

@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: 47d4643f-784a-4a6d-8dcb-21dae1b30084
  • 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

@silo-triage silo-triage Bot added the documentation Improvements or additions to documentation label 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#2271 merged as b008d72de, and Silo-Server/silo-server#2272 as 2102bf7d6. The review thread checks these pages against current main before this merges.

The Apple and Android players also select the completed job's track when the server returns a saved translation (silo-apple 5cdcf4a5 SubtitleAIController.swift onJobAccepted/completePersistedHandoff; silo-android b7c0412af PlayerViewModel.kt and TvPlayerViewModel.kt pollJob Completed -> autoSelectSubtitleId).
Editing a sidecar or replacing the file changes the source identity, so the next request misses the reuse lookup (silo-server abbf8e0ad internal/subtitles/ai/source_identity.go translationSource). Nothing starts on its own.
The list read as complete but missed other admin reasons; a 404 now names the endpoint or model (b008d72de); live audio that's too large names no setting; the messages say 'Ask a server administrator' (silo-server abbf8e0ad internal/subtitles/ai/failure.go).
Translation also counts as off when the text model can't be used, such as a paused ChatGPT plan (silo-server abbf8e0ad internal/subtitles/ai/service.go translationConfig). From Sol review S1.
Android TV shows an AI chip with Translation or Transcription (silo-android b7c0412af TvPlayerHud.kt tvSubtitleRowParts). From Sol review S2.
Replacing the video changes the identity of embedded tracks only; an unchanged sidecar on the same file record still matches (silo-server abbf8e0ad internal/subtitles/ai/source_identity.go translationSource). From Sol review S3.
Still Admin > Libraries > Subtitle Files after #5087 (silo-server abbf8e0ad web/src/lib/adminNavigation.ts). From Sol review S4.
The job logs the underlying error, and provider bodies can be truncated (silo-server abbf8e0ad internal/subtitles/ai/service.go finishWithErrorNotify; internal/ai/llm/client.go). From Sol review S5.
'On Android' included Android TV, which shows an AI chip instead.
@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

Resolve ai-services.md: keep main's Connect speech-to-text (the speech Base URL paragraph is gone on main) and put the spoken-language paragraph after step 4, before the ChatGPT plan note, so PR #446's section after that note still merges cleanly.
From Sol review S6: the page now answers why an AI subtitle job failed.
@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

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

This branch was previously deployed

1 inactive deployment
Preview — bed55e1e Deployed Nov 25, 2026 by zZebrahz via teardown #235
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: AI subtitle failure reasons, reused translations and transcription-only servers

1 participant