Checkpoint

This commit is contained in:
maze authored and maze committed 2026-10-29 17:29:41 +01:00
1 parent 85a9ec684c
commit c5d6137fab
160 files changed
+76293 -387

No files matched your search

+14
View File
@@ -94,6 +94,10 @@ type (
MuteEvent struct {
baseEvent
}
PlaylistEvent struct {
baseEvent
}
)
func NewError(p Player, err error) Event {
@@ -193,3 +197,13 @@ func NewMuteEvent(p Player) Event {
func (e MuteEvent) String() string {
return fmt.Sprintf("mute player=%s time=%s", e.player.Name(), e.time)
}
func NewPlaylistEvent(p Player) Event {
return PlaylistEvent{
baseEvent: makeBaseEvent(p),
}
}
func (e PlaylistEvent) String() string {
return "playlst"
}