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

Stream magnet from firefox/chrome context menu #368

Open
Jerrk opened this issue Mar 16, 2020 · 6 comments
Open

Stream magnet from firefox/chrome context menu #368

Jerrk opened this issue Mar 16, 2020 · 6 comments

Comments

@Jerrk
Copy link

Jerrk commented Mar 16, 2020

In windows cmd peerflix "magnetlink" --mpv works as it should and works great, i was wondering if there is a way to bypass copying magnet link -> open cmd -> type in peerflix "" --mpv, and then pasting the magnet link in the quotes.

Would it be possible to just add a context menu option in the browser to just skip these steps, and if so - how?

edit:
What i want to be done looks like it's possible with Play with MPV (Chrome) or Send to MPV player (Firefox) in conjunction with the mpv-peerflix-hook lua script. I'm just having issues with the lua script right now and waiting for a response from the dev.

@jaruba
Copy link

jaruba commented Mar 16, 2020

You could just use Powder Web:
https://github.com/jaruba/PowderWeb

It's a hobby project of mine, based on peerflix (highly customised version), you can then associate the app with magnet links, and the default video player will start (unless u choose a different video player in the settings) when u press magnet links in any browser.

@Jerrk
Copy link
Author

Jerrk commented Mar 16, 2020

Unfortunately it doesn't look like that would work for my use-case, i associate all .torrent and magnet links to deluge for full downloading and i would only occasionally use peerflix, so it's not something i would want to make as default behavior on a left click 😞

@jaruba
Copy link

jaruba commented Mar 17, 2020

I use torrents mostly for media, and I associate only magnet links with Powder Web, and torrent files with a different torrent client. So for media I just press the magnet links, for anything else I use the torrent file.

Alternatively, u will need to code 2 browser addons (one for chrome and one for firefox), if u want context menu options that open peerflix directly like u said. And this might be a seriously lengthy task for u.

@Jerrk
Copy link
Author

Jerrk commented Mar 17, 2020

Hmm that does look like something i would be willing to try if my current plan doesnt pan out

What i want to be done looks like it's possible with Play with MPV (Chrome) or Send to MPV player (Firefox) in conjunction with the mpv-peerflix-hook lua script. I'm just having issues with the lua script right now and waiting for a response from the dev.

While that is ongoing ill def try out PowderWeb 😃

@Inginn
Copy link

Inginn commented May 28, 2020

I use the External Application Button extension in chrome, most external running command extensions broke when chrome stoped supporting NPAPI plugins. but this extension bypasses that by running a client on your computer that grabs external run commands you make.

@fredericocurti
Copy link

Hi! I made a project that does exactly this! At least on chrome with VLC, but feel free to contribute!:
https://github.com/fredericocurti/magneto

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

4 participants