ff2mpv-rust doesn't launch on Windows #5
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ryze/ff2mpv-rust#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Excuse my noob-iness.
I'm trying to get this working on Windows.
I have it working with the default client (python?) but it seems sluggish, how would I go about switching it with the rust one?
I tried following the installation steps but it's not very clear to me what to do after I use the
ff2mpv-rust manifest
command.Should I swap the contents of ff2mpv-windows.json with the output text I get after running the manifest command? (I've tried that but it doesn't work).
I also confirmed that the config is valid.
Did you follow the steps outlined here? In your case, swapping out the contents of the JSON file should be enough.
What are the original contents of it and the output of
ff2mpv-rust manifest
?In the meantime, I also tried it on Vivaldi browser and it works just fine there, but not in the Firefox.
Yes, that is exactly the instruction that I followed.
These were the original contents of ff2mpv-windows.json
The output I get when I use the manifest command is:
This is what my JSON files look like:
This is the one for the Vivaldi (this one works):
ff2mpv-windows-chrome.json
This one is for the Firefox (this one doesn't work):
ff2mpv-windows.json
It works with the original client,
"path": "ff2mpv.bat",
Interesting, where is
ff2mpv.bat
located at?In the same folder where the JSON file is, so
C:\\Miscellaneous tools\\ff2mpv-master\\
I also placed the ff2mpv-rust.exe in the same folder, and tried to use just the
"path": "ff2mpv-rust.exe",
, but that didn't work either.It might be that Firefox doesn't allow executing EXE directly.
What if you wrap it up in a batch script and call it there?
Actually I tried that as well, I forgot to mention. It didn't work either.
I re-tried it right now and still nothing.
Could you show how you got the registry key set up?
This one is for Vivaldi:
This one is for Firefox:
That looks right. This might just be a Windows-specific bug, as the script was only properly tested on Linux.
I'll get access to Windows machine in a couple days and try to reproduce it.
Alright, thank you for your time and effort.
I confirm that i got the same bug on Windows 10 22h2 build 19045.3570 using custom-firefox browser Mercury. With original python script ff2mpv.py everything works as expected. Also i noticed that ff2mpv-rust doesn't recognize config file located in %APPDATA% as mentioned in the readme(if i execute ff2mpv-rust validate it says "Config doesn't exist"), so maybe that the reason why the native-host doesn't work?
Can anyone verify if it works on the linked branch? I've published a pre-release with fix applied, if you don't want to compile it yourself.
ff2mpv-rust will fallback to the default configuration if there is an error parsing config file. This is unrelated. Please check the path and name of the config file. If the problem persists, open up a new issue.
I just tested it. It works now 👍
Thanks for helping with the issue! I'll make a couple more changes and do a proper release soon.