mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-06 10:22:50 +08:00
26 lines
581 B
Go
26 lines
581 B
Go
package config
|
|
|
|
type _PlayerConfig struct {
|
|
Playlists []string
|
|
PlaylistsProvider []string
|
|
PlaylistIndex int
|
|
PlaylistRandom bool
|
|
AudioDevice string
|
|
Volume float64
|
|
SkipPlaylist bool
|
|
}
|
|
|
|
func (c *_PlayerConfig) Name() string {
|
|
return "Player"
|
|
}
|
|
|
|
var Player = &_PlayerConfig{
|
|
Playlists: []string{"2382819181", "4987059624", "646548465"},
|
|
PlaylistsProvider: []string{"netease", "netease", "netease"},
|
|
PlaylistIndex: 0,
|
|
PlaylistRandom: true,
|
|
AudioDevice: "auto",
|
|
Volume: 100,
|
|
SkipPlaylist: false,
|
|
}
|