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

Integration with peerflix/webtorrent? #39

Open
Jerrk opened this issue May 23, 2020 · 2 comments
Open

Integration with peerflix/webtorrent? #39

Jerrk opened this issue May 23, 2020 · 2 comments

Comments

@Jerrk
Copy link

Jerrk commented May 23, 2020

I'm using the "send to MPV player" extension for firefox, in my windows environment i can stream a torrent/magnet by running peerflix/webtorrent "magnet/torrent url" --mpv, is there any way i can bypass the hassle of opening cmd, typing the command, and copying the link? and instead just right click the link in my browser and open it seamlessly?

https://github.com/mafintosh/peerflix
https://github.com/webtorrent/webtorrent-cli

@belaviyo
Copy link
Owner

You have two options. Either create a batch file that gets the URL from input arguments and pass the correct arguments to the MPV then use this batch file as the executable on the options page or you can use Andy's "External Application Button" extension.

@Jerrk
Copy link
Author

Jerrk commented May 23, 2020

The first option with a .bat file sounds like the best one for my usecase, the only issue is i have no idea how to create a file with the required properties haha..
i.e calling for webtorrent when an url starts with magnet or when it ends with .torrent but then also just work as usual with youtube and twitch links.

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