mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-13 13:38:16 +08:00
ui界面优化,event handler优化-新增任务池模式,歌词加载优化,新房间管理(可以自动连接) 本地音频搜索算法优化,
This commit is contained in:
@@ -7,6 +7,7 @@ type PlaylistMode int
|
||||
const (
|
||||
PlaylistModeNormal PlaylistMode = iota
|
||||
PlaylistModeRandom
|
||||
PlaylistModeRepeat
|
||||
)
|
||||
|
||||
type Playlist struct {
|
||||
@@ -17,7 +18,7 @@ type Playlist struct {
|
||||
}
|
||||
|
||||
func (p Playlist) String() string {
|
||||
return fmt.Sprintf("<Playlist %s>", p.Name)
|
||||
return fmt.Sprintf("<Playlist %s len:%d>", p.Name, len(p.Medias))
|
||||
}
|
||||
|
||||
func (p *Playlist) Size() int {
|
||||
|
||||
Reference in New Issue
Block a user