Stremio shell using WebView2/mpv, written in Rust
Find a file
Claude 51d75cfe6e
fix: search accumulated log buffer for server readiness line
The stdout reader matched 'EngineFS server started at' against
string_data (the bytes from the most recent read only). If server.js
flushed in such a way that the readiness line straddled two reads,
neither chunk's .lines() yielded a full match, the endpoint channel
never received, recv() timed out, and the WebUI loaded against the
fallback URL.

Search the accumulated *lines buffer instead so a line split across
reads matches once the second chunk lands. Track endpoint_sent so we
do not resend on every subsequent chunk after a match.

Also preserve trailing newlines when trimming the retained buffer to
SRV_LOG_SIZE lines so a later chunk cannot be concatenated onto the
last unterminated line and corrupt a parser. Same trim treatment for
the stderr reader for consistency.

Closes #53
2026-05-10 14:43:48 +00:00
.github/workflows Fix checkout action 2026-03-10 12:13:52 +02:00
bin
bin-arm64 Arm64 installer 2025-12-18 12:40:50 +02:00
images Arm64 installer 2025-12-18 12:40:50 +02:00
mpv-arm64 Windows no ARM build 2025-11-12 18:02:41 +02:00
mpv-x64 Windows no ARM build 2025-11-12 18:02:41 +02:00
setup Arm64 installer 2025-12-18 12:40:50 +02:00
src fix: search accumulated log buffer for server readiness line 2026-05-10 14:43:48 +00:00
.gitignore
build-arm64.ps1 Remove build thread arm64 2026-03-12 17:54:25 +02:00
build.ps1 Remove sign thread 2026-03-12 17:27:44 +02:00
build.rs Arm64 installer 2025-12-18 12:40:50 +02:00
Cargo.lock Version updated to v5.0.20 2026-03-23 14:18:20 +02:00
Cargo.toml Version updated to v5.0.21 2026-04-27 13:18:20 +03:00
generate_descriptor.js Multi architecture descriptors 2025-12-05 15:44:01 +02:00
libmpv-2_arm64.zip Windows no ARM build 2025-11-12 18:02:41 +02:00
libmpv-2_x64.zip Fix libmpv 2025-11-27 18:12:02 +02:00
README.md
rust-toolchain.toml Windows no ARM build 2025-11-12 18:02:41 +02:00
server.js update server to v4.20.17 2026-03-20 14:16:19 +02:00
stremiover.js Version check 2026-03-10 10:54:23 +02:00
upload.ps1 Better uploader 2026-02-05 13:48:58 +02:00

Stremio shell: new gen

A Windows-only shell using WebView2 and MPV

Goals:

  • Performance
  • Reliability
  • Easy to ship

In all three, this architecture excels the Qt-based shell: it is about 2-5x more efficient depending on the use case, as it allows MPV to render directly in the window through it's optimal video output rather than using libmpv to integrate with Qt.

This is due to Qt having a complex rendering pipeline involving ANGLE and multiple levels of composing and drawing to textures, which inhibits full HW acceleration.

Meanwhile in this setup MPV uses whichever pipeline it considers to be optimal (like the mpv desktop app), which is normally d3d11, allowing full HW acceleration.

For web rendering, we use the native WebView2, which is Chromium based but shipped as a part of Windows 10: therefore we do not need to ship our own "distribution" of Chromium.

Finally, this should be a lot more reliable as it uses a much simpler and more native overall architecture.