Skip to content

fix(player): keep AI transcription in the spoken language when translation is off - #547

Merged
Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/1163-transcribe-without-translation
Oct 13, 2026
Merged

Quick104 merged 1 commit into
Silo-Server:mainfrom
Rhainland:fix/1163-transcribe-without-translation

Conversation

@Rhainland

@Rhainland Rhainland commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: Silo-Server/silo-server#1163
Validation tasks: unblocks #327 C1, #328 C1

A server can offer AI transcription without AI translation. The phone sheet and TV dialog still let the viewer pick any target language for an audio job, and every choice other than the spoken language was sent as a transcribe-and-translate job that the server refused with "AI subtitle processing is not configured".

Approach

Without translation, audio mode hides the target language, explains "Subtitles are written in the spoken language. AI translation is turned off on this server.", and sends a plain transcription. The web player gets the same change in Silo-Server/silo-server.

Validation

  • Existing AI support tests pass; phone, tablet and TV emulators against a local server with a mock provider and translation disabled: the note shows, the job runs as a plain transcription and completes.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-android/pr-547/

Surface and build: Android phone, tablet and TV emulators; before = main 747efff, after = this branch.

Risks

None identified.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code (in T3 Code)
  • Tool(s): Claude Code; OpenAI Codex CLI only to generate translation text for the local test provider
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: Claude Code /code-review (medium) over the combined fix branch for this repository; every confirmed finding was fixed and re-validated

…ation is off

A server can offer AI transcription without AI translation. The phone
sheet and TV dialog still let the viewer pick any target language for an
audio job, and every choice other than the spoken language was sent as a
transcribe-and-translate job the server refused with "AI subtitle
processing is not configured".

Without translation, audio mode now hides the target language, explains
that subtitles are written in the spoken language, and sends a plain
transcription.
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a18fb780-77c6-4eef-8092-ac93b375f885

📥 Commits

Reviewing files that changed from the base of the PR and between 538aa09 and d0deb86.


📒 Files selected for processing (3)
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/AiTranslateSheet.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/SubtitleAiSupport.kt
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvAiTranslateDialog.kt

  • Autofix · 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T16:30:32.651108Z d0deb86 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@silo-kody

silo-kody Bot commented Oct 11, 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 ❌
⚠️ 3 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:

  • Validate download ownership before publishing subtitle bytes
  • Bind playback markers to the actual playing file
  • Share route-aware audio decisions and preserve original-format decoder fallback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working impact: usability Core flow broken or severely blocked priority: P2 Limited scope, workaround exists, or polish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants