Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ff2mpv compatible #7

Open
Niotferdi opened this issue Mar 25, 2022 · 1 comment
Open

ff2mpv compatible #7

Niotferdi opened this issue Mar 25, 2022 · 1 comment

Comments

@Niotferdi
Copy link

The only scenario where I need a single instance feature is when watching network videos. The most convenient way to open network videos is with the ff2mpv browser add-on. I haven't found a way to get mpv-msix to work with ff2mpv - videos still open in different windows. How about adding compatibility with this add-on?

@SilverEzhik
Copy link
Owner

I've taken a look at ff2mpv extension and it looks like it works by launching the mpv.exe executable using a native connector.

mpv-msix includes the mpv:// URI scheme. You should actually be able to use this without an external connector, but you'd need an extension that leverages this.

If you want to keep using ff2mpv, you can try invoking this scheme from the connector app by changing its args parameter:

args = ['start', f'mpv://play?file={url}']

You should be able to modify that template using other parameters as described here: https://github.com/SilverEzhik/mpv-msix#mpv-uri-scheme

Hope this works well for your use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants