Repository navigation
Description
Summary
Android phone and Android TV expose subtitle-provider search without checking whether the connected Silo server has an enabled subtitle provider. Consume the server's provider-status capability and hide search when the server explicitly reports that no provider is available.
This issue is based on a source audit at commit 224ad883329a6a4914c680512abba3845bcf67fb; it does not claim a manual device reproduction.
Source evidence
No Android consumer of the following endpoint was found:
GET /api/v1/subtitles/providers/statusCurrent presentation is derived only from playback state:
- Android phone:
PlayerOverlay.ktenables subtitle tools from the playback session and media-file ID;TracksSheet.ktthen shows Find subtitles. - Android TV:
TvPlayerScreen.ktprovides the search callback whenever a media-file ID exists;TvPlayerHud.ktthen shows Search subtitles.
Android does not currently provide manual subtitle upload, so this gate affects only provider-backed search.
Expected behavior
- Query
/api/v1/subtitles/providers/statusafter authentication and when switching servers. - Hide provider search when a successful response explicitly contains
enabled: false. - Preserve existing behavior if the probe fails or returns
404, for compatibility with older servers. - Guard the search action itself against a capability change or a probe race.
- Apply the same behavior to Android phone and Android TV.
- Add tests for enabled, disabled, request-failure, and server-switch states.
The Apple client already consumes this endpoint and deliberately fails open, providing a cross-client behavioral reference.
Coordination
Related server/web issue: Silo-Server/silo-server#891
No Apple follow-up is required.
AI disclosure
- Harness: OpenAI Codex desktop app
- Tool(s): Codex repository inspection using
rg,sed, and Git; GitHub CLI for issue lookup and submission - Model(s): n/a — the exact deployment identifier was not exposed by the harness
- Involvement: AI-assisted
- Adversarial review: Compared Android phone and TV presentation predicates against the server contract and Apple's existing fail-open implementation. The review verified that Android has no manual subtitle-upload surface, so hiding provider search does not remove a separate upload path.
Activity
[-]Respect subtitle provider availability in phone and TV players[/-][+]Hide subtitle search when no providers are configured[/+]fix(player): hide subtitle search when the server has no provider (Si…