add usesysplaylist option

This commit is contained in:
aynakeya
2024-08-25 10:42:18 -07:00
parent 2056bd310a
commit 23d6944a52
8 changed files with 55 additions and 25 deletions

View File

@@ -2,13 +2,15 @@ package config
type _GeneralConfig struct {
BaseConfig
Width float32
Height float32
Language string
InfoApiServer string
AutoCheckUpdate bool
ShowSystemTray bool
PlayNextOnFail bool
Width float32
Height float32
Language string
InfoApiServer string
AutoCheckUpdate bool
ShowSystemTray bool
PlayNextOnFail bool
UseSystemPlaylist bool
FixedSize bool
}
func (c *_GeneralConfig) Name() string {
@@ -16,11 +18,13 @@ func (c *_GeneralConfig) Name() string {
}
var General = &_GeneralConfig{
Language: "zh-CN",
ShowSystemTray: false,
InfoApiServer: "http://localhost:9090",
AutoCheckUpdate: true,
Width: 960,
Height: 480,
PlayNextOnFail: false,
Language: "zh-CN",
ShowSystemTray: false,
InfoApiServer: "http://localhost:9090",
AutoCheckUpdate: true,
Width: 960,
Height: 480,
PlayNextOnFail: false,
UseSystemPlaylist: true,
FixedSize: true,
}