Commit graph

8 commits

Author SHA1 Message Date
Claude
e25dc1fd02
fix(Player): stop fabricating end-file on transient mpv event errors
Commit 0b882f3 synthesized an Event::EndFile(Error) whenever
event_context.wait_event returned libmpv2::Error::Raw and forwarded it
to the web layer. MPV is fully able to continue playback after such
transient errors (its demuxer cache is intact), so fabricating an
end-of-file caused long-running HTTP streams (e.g. RealDebrid) to flip
to a blocking "Loading failed" overlay mid-playback. Revert that branch
to the prior log-and-continue behavior.

Also downgrade PlayerEnded errors from critical:true to critical:false
so genuine mpv_end_file_reason::Error surfaces as a 3s toast in
stremio-web (Player.js), letting the user retry, instead of an
unrecoverable full-screen overlay.
2026-04-22 22:07:54 +00:00
Vladimir Borisov
0b882f3f9b
Handle Player critical errors 2026-03-12 17:28:44 +02:00
Vladimir Borisov
cd2246484b Update MPV and server.js 32 bit app 2024-10-16 12:00:17 +03:00
Vladimir Borisov
7a7494f726 Use Windows line endings for easier diff 2022-04-08 09:16:46 +03:00
Martin Kavík
55ea78721f fix clippy warnings and tests 2022-04-01 23:25:25 +02:00
Vladimir Borisov
9eb6c97b4c Revert "Use libmpv-rs instead of mpv-rs"
This reverts commit 64c0abd3a7.
2021-08-30 09:32:02 +03:00
Vladimir Borisov
98a079db82 Use libmpv-rs instead of mpv-rs 2021-08-27 19:09:05 +03:00
Vladimir Borisov
36085b594d Improved player communication. Test for the messages 2021-08-02 15:24:42 +03:00