wip ui
This commit is contained in:
@@ -66,6 +66,7 @@ type playbackEngine struct {
|
||||
nowPlayingIdx int
|
||||
isRadio bool
|
||||
loopMode LoopMode
|
||||
shuffle bool
|
||||
|
||||
pauseAfterCurrent bool // flag to pause playback after current track ends
|
||||
|
||||
@@ -98,6 +99,7 @@ type playbackEngine struct {
|
||||
onSongChange []func(nowPlaying mediaprovider.MediaItem, justScrobbledIfAny *mediaprovider.Track)
|
||||
onPlayTimeUpdate []func(float64, float64, bool)
|
||||
onLoopModeChange []func(LoopMode)
|
||||
onShuffleChange []func()
|
||||
onVolumeChange []func(int)
|
||||
onSeek []func()
|
||||
onPaused []func()
|
||||
|
||||
Reference in New Issue
Block a user