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

Predefined player parameters #257

Merged
merged 7 commits into from Nov 1, 2016
Merged

Predefined player parameters #257

merged 7 commits into from Nov 1, 2016

Conversation

bastimeyer
Copy link
Member

@bastimeyer bastimeyer commented Jun 2, 2016

This adds a list of known players and parameters, so that users don't need to specify these by themself and certain player behaviors can be forced. Most of the users will never set player parameters and some will use them incorrectly. Having a list of known parameters and a default configuration for each player will solve multiple issues.

  • Give each player a set of default locations for each platform.
    Use these as a fallback and let the user set custom paths.
  • Define a list of useful player parameters.
    Player behavior, player window title, buffering/caching, etc.
  • Add preset/parameter selection to the player settings menu.
    Tell users about each parameter and give them control over each one.
  • Allow users to define custom parameters as well.
    In addition to (as a replacement of) the enabled parameters.

Players

  • VLC
  • MPV
  • MPC-HC

@bastimeyer bastimeyer force-pushed the player-configs branch 2 times, most recently from 885e153 to 2536b83 Compare November 1, 2016 13:20
- Reformat player attribute in the settings model
- Remove player_params attribute (merged with player)
- Add player update logic to initializers/localstorage
- Add models/LivestreamerPlayerParameters
- Refactor Livestreamer.getParameters and update LivestreamerParameters
- Refactor LivestreamerService
- Add preset/param selection to player settings menu
- Remove advanced settings restriction from custom player parameters
@bastimeyer bastimeyer merged commit ab36142 into master Nov 1, 2016
@bastimeyer bastimeyer deleted the player-configs branch November 5, 2016 14:37
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

Successfully merging this pull request may close these issues.

None yet

1 participant