ExtensionError: No such native application ff2mpv
fromtheeast710 opened this issue · comments
Describe the bug
ff2mpv doesn't play video when use librewolf (a fork of firefox) but in the browser console, it says
ExtensionError: No such native application ff2mpv
with message
Error: Attempt to postMessage on disconnected port
Reproduction steps
Steps to reproduce the behavior:
- Install librewolf-bin
- Install ff2mpv following the instructions
- Use ff2mpv
Expected behavior
The video is played in mpv
Platform information
- OS information: Aritx Linux
- Firefox version: LibreWolf 91.0.1
- MPV version: mpv 0.33.1-dirty
- youtube-dl version: 2021.06.06
Additional context (optional)
At first, install.sh could not detect ~/.mozilla so I have to make it manually, the installation was successful. My mpv.conf is
[extension.webm] loop-file=inf
I tested this on a freshly installed firefox and it works perfectly, so the problem must be that I'm using librewolf.
Yeah, I have no idea whether this extension will work on any of the Firefox forks.
If you do manage to get it working, feel free to update the wiki with the steps you took. Others might find it useful, even though it won't be an officially supported configuration.
@woodruffw Yes, I was able to get it working simply by executing cp -r .mozilla/native-messaging-hosts/ .librewolf/
Great, good to hear. Feel free to add that information to the Wiki under a "Firefox forks" page or similar.
Done, even though I don't think there's enough to justify a wiki page.
Thanks. Yeah, it's a tiny case, but it means that I can link there (and tell people to expound on it) as/if issues arise.