Skip to content

fix(player): say a subtitle download may have failed when it never appears - #2874

Merged
edde746 merged 3 commits into
edde746:mainfrom
jucor:plex-subtitle-timeout-message
Oct 31, 2026
Merged

edde746 merged 3 commits into
edde746:mainfrom
jucor:plex-subtitle-timeout-message

Conversation

@jucor

@jucor jucor commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Hi !

A small one, found while adding subtitle search for Jellyfin (#2875).

When a downloaded subtitle never shows up in the item's streams within the 15 s poll, the sheet says "Subtitle downloaded, but it could not be selected". Nothing actually tells us the download worked, though: the stream simply hasn't shown up. This PR gives the timeout its own message: "The subtitle didn't appear in time. The download may have failed", in every locale. The other outcomes keep the existing message.

How I checked it

  • A sheet test that taps a result and gets a timeout: it fails on main and passes here.
  • flutter analyze, the codegen check and clean_translations.py --check --strict are clean.

Disclosure: I piloted Claude Opus 5.5 (Anthropic) at high effort to write the change and run the tests.

…pears

When the polled subtitle stream never shows up, the sheet reported
"Subtitle downloaded, but it could not be selected", although nothing
says the download succeeded. A timeout now gets its own message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jucor
jucor force-pushed the plex-subtitle-timeout-message branch from 76b750c to ff73849 Compare October 29, 2026 01:48
@jucor
jucor marked this pull request as ready for review October 29, 2026 01:57
jucor and others added 2 commits October 29, 2026 01:58
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	lib/i18n/strings.g.dart
#	lib/i18n/strings_en.g.dart
@edde746
edde746 merged commit 7b999fb into edde746:main Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants