Commit graph

248 commits

Author SHA1 Message Date
Timothy Z.
4a9e61a3b7 fix: inject shell bootstrap before page scripts
Some checks are pending
Continuous integration / test (push) Waiting to run
The WebUI bootstrap (window.stremio_server_ipc_key, the qt
webChannelTransport shim, contextmenu suppression) was injected via
execute_script from inside the add_content_loading callback. Both
add_content_loading and execute_script enqueue work async, so a page's
own inline <script> tags could observe window.stremio_server_ipc_key
as undefined and bypass the qt shim entirely. The race showed up
intermittently as the WebUI being unable to talk to the streaming
server even after the shell had finished launching.

Move the same script into add_script_to_execute_on_document_created
and register it BEFORE webview.navigate(...). WebView2 guarantees
DocumentCreated scripts run before any page scripts on every document,
including the first one as long as registration completes before the
navigation reaches DocumentCreated. The add_content_loading callback
that previously hosted these execute_script calls is removed since it
now serves no purpose.

Closes #54
2026-05-11 17:27:37 +02:00
Vladimir Borisov
bbbe882faf
Version updated to v5.0.21
Some checks failed
Continuous integration / test (push) Has been cancelled
2026-04-27 13:18:20 +03:00
Владимир Борисов
7f2bbb2c12
Merge pull request #38 from Stremio/feat/player-add-video-scale-property
Some checks failed
Continuous integration / test (push) Has been cancelled
Feat/Player add video scale property
2026-04-23 11:18:41 +03:00
Владимир Борисов
d8ec1c4cc1
Merge pull request #39 from Stremio/feat/media-keys-support
Feat/Player add media keys support
2026-04-23 11:17:49 +03:00
Владимир Борисов
8be5a2cfca
Merge pull request #40 from Stremio/claude/fix-player-error-handling-pMLQG
fix(Player): stop fabricating end-file on transient mpv event errors
2026-04-23 11:12:34 +03:00
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
Timothy Z.
285415be55 chore: lint 2026-04-22 18:23:29 +03:00
Timothy Z.
fe13fb0fa4 feat: add media keys support to player 2026-04-22 18:18:07 +03:00
Timothy Z.
342a005dc0 feat: player add video scale property 2026-04-22 15:34:21 +03:00
Владимир Борисов
aced2eadc1
Merge pull request #37 from Stremio/fix/demuxer-cache-time
Some checks failed
Continuous integration / test (push) Has been cancelled
Player: Added demuxer cache time
2026-04-14 13:21:43 +03:00
Botzy
d43c462adf fix(Player): added demuxer cache time to get buffered value 2026-04-14 12:07:31 +03:00
Vladimir Borisov
68d620564e
Version updated to v5.0.20
Some checks failed
Continuous integration / test (push) Has been cancelled
2026-03-23 14:18:20 +02:00
Vladimir Borisov
17c1abdf9f
update server to v4.20.17
Some checks failed
Continuous integration / test (push) Has been cancelled
2026-03-20 14:16:19 +02:00
Vladimir Borisov
f1db70f875
Version updated to v5.0.19
Some checks failed
Continuous integration / test (push) Has been cancelled
2026-03-12 17:58:11 +02:00
Vladimir Borisov
2618909b65
Update libmpv2 2026-03-12 17:57:21 +02:00
Vladimir Borisov
ace5680343
Remove build thread arm64 2026-03-12 17:54:25 +02:00
Vladimir Borisov
0b882f3f9b
Handle Player critical errors 2026-03-12 17:28:44 +02:00
Vladimir Borisov
72f881447a
Remove sign thread 2026-03-12 17:27:44 +02:00
Vladimir Borisov
ff78623e70
Fix checkout action
Some checks failed
Continuous integration / test (push) Has been cancelled
2026-03-10 12:13:52 +02:00
Vladimir Borisov
8a77e547bc
Update checkout action 2026-03-10 11:58:08 +02:00
Vladimir Borisov
95c718dd25
Version check 2026-03-10 10:54:23 +02:00
Vladimir Borisov
7461b2efcd
Better uploader 2026-02-05 13:48:58 +02:00
Vladimir Borisov
1bf13bd4ff
Bump version
Some checks failed
Continuous integration / test (push) Has been cancelled
2026-02-05 13:25:43 +02:00
Vladimir Borisov
15069204be
Server IPC key
Some checks failed
Continuous integration / test (push) Has been cancelled
2026-02-02 17:21:47 +02:00
Vladimir Borisov
07d821012d
server IPC key 2026-02-02 14:54:41 +02:00
Vladimir Borisov
f1aeb06c0f
Bump version to 5.0.16
Some checks failed
Continuous integration / test (push) Has been cancelled
2026-01-09 15:34:24 +02:00
Vladimir Borisov
29ae6ed80d
Update the server 2026-01-09 15:33:45 +02:00
Vladimir Borisov
b8a0345b0d
Arm64 installer
Some checks failed
Continuous integration / test (push) Has been cancelled
2025-12-18 12:40:50 +02:00
Vladimir Borisov
0a08fed2cb
Multi architecture descriptors
Some checks failed
Continuous integration / test (push) Has been cancelled
2025-12-05 15:44:01 +02:00
Vladimir Borisov
fd84baff33
Bump version 5.0.15
Some checks failed
Continuous integration / test (push) Has been cancelled
2025-11-27 18:12:31 +02:00
Vladimir Borisov
385259b6d5
Fix libmpv 2025-11-27 18:12:02 +02:00
Vladimir Borisov
0ad2fd7a0e
Version bump to 5.0.14
Some checks are pending
Continuous integration / test (push) Waiting to run
2025-11-27 16:57:14 +02:00
Vladimir Borisov
be55565ee4
Check for architecture specific updates
Some checks failed
Continuous integration / test (push) Has been cancelled
2025-11-27 16:35:40 +02:00
Vladimir Borisov
522a4d6a66
Update server.js to v4.20.15 2025-11-27 15:50:34 +02:00
Vladimir Borisov
7f3a1b074f
linker flags 2025-11-27 14:02:54 +02:00
Владимир Борисов
53cfa3dc21
Windows no ARM build 2025-11-12 18:02:41 +02:00
Vladimir Borisov
81fa5c902d
Bump version to v5.0.13
Some checks failed
Continuous integration / test (push) Has been cancelled
2025-08-05 17:44:06 +03:00
Vladimir Borisov
6236797e37
Downgrade mpv 2025-08-05 17:42:54 +03:00
Vladimir Borisov
5cd2b35255
Bump app version to 5.0.12 2025-08-05 13:49:55 +03:00
Vladimir Borisov
9a77a10822
Update the code dependencies script 2025-08-05 13:49:22 +03:00
Vladimir Borisov
81690ad07a
Us correct DLLs 2025-08-05 13:49:03 +03:00
Vladimir Borisov
ea39138226
Signed libmpv 2025-08-05 11:27:55 +03:00
Vladimir Borisov
17256e1bc1
Update to v5.0.11 2025-08-05 11:01:44 +03:00
Vladimir Borisov
aba65c1d69
Bundle the vcruntime_1 dll 2025-08-05 11:01:13 +03:00
Vladimir Borisov
372f1079c0
Update version to 5.0.10 2025-08-05 10:47:12 +03:00
Vladimir Borisov
c58de39e54
Add 64 bit vcruntime 2025-08-05 10:45:55 +03:00
Vladimir Borisov
07212b5ed5
Revert "Use 64 bit vc runtime"
This reverts commit 1473919fda.
2025-08-05 10:44:53 +03:00
Vladimir Borisov
1473919fda
Use 64 bit vc runtime 2025-08-04 17:58:25 +03:00
Vladimir Borisov
18fa042f9d
Update the version number to v5.0.8 2025-08-04 17:18:31 +03:00
Vladimir Borisov
eaadf02b8e
Update libmpv 2025-08-04 17:11:53 +03:00