Merge pull request #20 from SuperSandro2000/config-default-scheme
Set default supported schemas when no config file is provided
This commit is contained in:
17
config.go
17
config.go
@@ -48,14 +48,15 @@ var defaultSupportedSchemas = []string{
|
|||||||
var defaultConfig = Config{
|
var defaultConfig = Config{
|
||||||
Players: map[string]Player{
|
Players: map[string]Player{
|
||||||
"mpv": {
|
"mpv": {
|
||||||
Name: "mpv",
|
Name: "mpv",
|
||||||
Executable: "mpv",
|
Executable: "mpv",
|
||||||
Fullscreen: "--fs",
|
Fullscreen: "--fs",
|
||||||
Pip: `--ontop --no-border --autofit=384x216 --geometry=98%:98%`,
|
Pip: `--ontop --no-border --autofit=384x216 --geometry=98%:98%`,
|
||||||
Enqueue: "",
|
Enqueue: "",
|
||||||
NewWindow: "",
|
NewWindow: "",
|
||||||
NeedsIpc: true,
|
NeedsIpc: true,
|
||||||
FlagOverrides: map[string]string{},
|
SupportedSchemes: defaultSupportedSchemas,
|
||||||
|
FlagOverrides: map[string]string{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user