config panel, kuwo source, playlist operation, bug fix @6, panic handling

This commit is contained in:
Aynakeya
2022-06-25 14:08:50 -07:00
parent 9f75839ebc
commit 0a53e8220e
40 changed files with 920 additions and 3992 deletions

19
config/config_player.go Normal file
View File

@@ -0,0 +1,19 @@
package config
type _PlayerConfig struct {
Playlists []string
PlaylistsProvider []string
PlaylistIndex int
PlaylistRandom bool
}
func (c *_PlayerConfig) Name() string {
return "Player"
}
var Player = &_PlayerConfig{
Playlists: []string{"2382819181", "116746576", "646548465"},
PlaylistsProvider: []string{"netease", "netease", "netease"},
PlaylistIndex: 0,
PlaylistRandom: true,
}