Skip to content

Hide subtitle search when no providers are configured #269

Closed

Description

@tomislav

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/status

Current presentation is derived only from playback state:

  • Android phone: PlayerOverlay.kt enables subtitle tools from the playback session and media-file ID; TracksSheet.kt then shows Find subtitles.
  • Android TV: TvPlayerScreen.kt provides the search callback whenever a media-file ID exists; TvPlayerHud.kt then 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/status after 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

  1. changed the title [-]Respect subtitle provider availability in phone and TV players[/-] [+]Hide subtitle search when no providers are configured[/+] on Sep 1, 2026
  2. added
    bug
    triaged
    and removed
    triaged
    on Sep 20, 2026
  3. added theissue type on Sep 20, 2026
  4. removed
    bug
    on Sep 20, 2026
  5. added a commit that references this issue on Nov 19, 2026
    2ee32f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions