fix(player): intercept spurious mid-file EOF and recover in place

close #1520

Classify player EOF signals against the best-known duration: a mid-file
EOF means the stream died (transcode reaped or idle connection closed
during a long pause), not that the media ended — it must never mark the
item watched, prompt Play Next, or exit a movie. Recover with a bounded
in-place reload at the parked position; if the server is still refusing,
park on the old frame and rebuild the stream on user play/seek or when
the server-status monitor sees it come back online.
This commit is contained in:
edde746
2026-07-10 19:11:18 +02:00
parent 3bf72d7237
commit c885c0c6bc
9 changed files with 258 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
/// To regenerate, run: `dart run slang`
///
/// Locales: 16
/// Strings: 22465 (1404 per locale)
/// Strings: 22466 (1404 per locale)
// coverage:ignore-file
// ignore_for_file: type=lint, unused_import