Add DASH quality preference

The options are `auto` (the current and default behavior), `best` and `worst`.

The UI is only updated once playback starts.
This commit is contained in:
saltycrys
2020-12-13 10:16:26 +01:00
parent c7c732ebc0
commit eea7ca9b72
6 changed files with 38 additions and 1 deletions

View File

@@ -66,6 +66,8 @@ struct Preferences
@[JSON::Field(converter: Preferences::ProcessString)]
property quality : String = CONFIG.default_user_preferences.quality
@[JSON::Field(converter: Preferences::ProcessString)]
property quality_dash : String = CONFIG.default_user_preferences.quality_dash
property default_home : String = CONFIG.default_user_preferences.default_home
property feed_menu : Array(String) = CONFIG.default_user_preferences.feed_menu
property related_videos : Bool = CONFIG.default_user_preferences.related_videos