Commit graph

39 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
Botzy
d43c462adf fix(Player): added demuxer cache time to get buffered value 2026-04-14 12:07:31 +03:00
Vladimir Borisov
0b882f3f9b
Handle Player critical errors 2026-03-12 17:28:44 +02:00
Vladimir Borisov
e04cf5f0c4
Allow UI to set video output but keep gpu-next in the list 2025-08-01 12:04:25 +03:00
Vladimir Borisov
b37fbbd4c8
64 bit build 2025-06-30 12:39:12 +03:00
Tim
5afca64bda fix(player): handle SubDelay mpv prop 2025-02-27 23:08:21 +01:00
Vladimir Borisov
21fb872a51
Disable player loggin in release 2025-01-28 11:12:07 +02:00
Vladimir Borisov
82a0b15b35
Do not set audio track id. Set audio name 2025-01-28 09:50:50 +02:00
Vladimir Borisov
9902c37aa2
Fix HDR 2025-01-23 15:12:30 +02:00
Vladimir Borisov
edc65abe57 Formatting 2024-12-23 14:56:55 +02:00
Vladimir Borisov
91f9d4a460 Fix playback from offset 2024-12-23 14:03:26 +02:00
Vladimir Borisov
e93d0be5a4 Formatting 2024-10-16 12:33:49 +03:00
Vladimir Borisov
cd2246484b Update MPV and server.js 32 bit app 2024-10-16 12:00:17 +03:00
Vladimir Borisov
22b9074ddd Fix formatting 2024-03-07 17:47:32 +02:00
Vladimir Borisov
c8fbba0a62 Updated dependencies. Fixed errors 2024-03-07 17:38:43 +02:00
Vladimir Borisov
3225e3cec9 FIx clippy 2022-10-03 09:49:25 +03:00
Vladimir Borisov
4198a50c0a Add mute command 2022-09-29 14:38:25 +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
Martin Kavík
8d5a098307 set_property! macro 2022-04-01 23:10:07 +02:00
Martin Kavík
f10380f60a minor refactor + cargo fmt --all 2022-04-01 22:47:02 +02:00
Martin Kavík
81e088800b libmpv integration 2022-04-01 22:27:21 +02:00
Vladimir Borisov
ee4feb8955 Separate threads for player communication 2021-11-18 17:42:06 +02:00
Vladimir Borisov
f3bb6acf81 Replace mpsc with flume 2021-11-18 10:36:42 +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
4d05ec1a5d Use parse_display instead of strum and heck 2021-08-05 17:53:22 +03:00
Vladimir Borisov
36085b594d Improved player communication. Test for the messages 2021-08-02 15:24:42 +03:00
Vladimir Borisov
e5a3264906 Improved communication with player 2021-07-28 17:51:19 +03:00
Vladimir Borisov
9cb8681d76 Performace improvements. Comments cleanup 2021-07-28 13:56:20 +03:00
Vladimir Borisov
e6cb1d8fa6 Renamed files. Clippy is happy 2021-07-26 14:07:04 +03:00
Vladimir Borisov
f292bc5b9f Use VecDeque in Player 2021-07-26 13:56:14 +03:00
Vladimir Borisov
d72219bc37 Move IPC erlated stuff in separate file 2021-07-26 13:40:06 +03:00
Vladimir Borisov
76842dcc65 Improved performance 2021-07-20 10:15:24 +03:00
Vladimir Borisov
fdcfceacfa Working most of the player IPC; Better error handling 2021-07-19 18:07:30 +03:00
Vladimir Borisov
d3d05a43fb Progress on the IPC 2021-07-16 17:33:58 +03:00
Vladimir Borisov
6fc17bbe42 Don't abstract player 2021-07-15 15:46:02 +03:00
Vladimir Borisov
1cb0032eed Error handling, renamed StremioApp to main window. Player functions 2021-07-14 18:31:58 +03:00
Vladimir Borisov
462d04d31b File restructure. Working server 2021-07-13 17:34:59 +03:00