Fixed SubtitleDropped using decoded utf8 as msg

- Fixed SubtitleDropped using decoded utf8 as msg causing a wrong path to be shown in the ui
- Updated readme as chocolatey was not updated in a long time.
This commit is contained in:
Zarg 2025-08-20 21:08:04 +02:00
parent 9cef682930
commit 904c3f696c
2 changed files with 3 additions and 2 deletions

View file

@ -115,8 +115,9 @@
# Uninstall
scoop uninstall stremio-desktop-v5
```
4. 🍫 **Chocolatey**
4. ~~🍫 **Chocolatey**~~
```shell
⚠️ Note: Chocolatey is not updated use scoop or a other installation method!
# Install
choco install stremio-desktop-v5 -y
# Update

View file

@ -513,7 +513,7 @@ static void SetupWebMessageHandler()
HandleEvent("mpv-command", subaddArgs);
json j;
j["type"] = "SubtitleDropped";
j["path"] = decodedFilePathUtf8;
j["path"] = utf8FilePath;
SendToJS("SubtitleDropped", j);
return S_OK;
}