Add option to listen by default

This commit is contained in:
Omar Roth
2018-10-30 09:41:23 -05:00
parent 8794e26e67
commit e39dec9778
5 changed files with 24 additions and 14 deletions

View File

@@ -70,10 +70,14 @@ class Preferences
JSON.mapping({
video_loop: Bool,
autoplay: Bool,
speed: Float32,
quality: String,
volume: Int32,
comments: {
listen: {
type: Bool,
default: false,
},
speed: Float32,
quality: String,
volume: Int32,
comments: {
type: Array(String),
default: ["youtube", ""],
converter: StringToArray,