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

A new approach (MPV profiles) #104

Open
APT37 opened this issue Nov 6, 2024 · 0 comments
Open

A new approach (MPV profiles) #104

APT37 opened this issue Nov 6, 2024 · 0 comments

Comments

@APT37
Copy link

APT37 commented Nov 6, 2024

This does not concern peerflix or mkchromecast users. If you're using those, you can stop reading now.

The idea is to minimize what the extension and shim (server) have to do by using MPV profiles. This would not only drastically minimize maintenance, but also increase safety and stability to a maximum.

Configuration

  1. MPV: Set up your MPV profile/s. This is where the actual of the configuration happens.
  2. Shim: Set host:port via command line option or environment variable.
  3. Extension: Paste the shim's URL, add your profile name/s.

Flow

  1. User clicks button.
  2. Extension sends profile name and target URL to shim.
  3. Shim executes mpv --profile {name} {URL}.
  4. MPV does what it's supposed to.

I'm interested in any thoughts on this idea.

NOTE: This is not a duplicate of #94, because only supporting MPV profiles is not enough in my opinion.

@APT37 APT37 changed the title A new approach A new approach (MPV profiles) Nov 6, 2024
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

1 participant