This commit is contained in:
Siiiiinth
2026-01-14 22:47:31 +01:00
parent 0a368967b4
commit 0fb1e5fa17
2 changed files with 23 additions and 1 deletions
+2
View File
@@ -65,6 +65,7 @@ type playbackEngine struct {
nowPlayingIdx int
isRadio bool
loopMode LoopMode
shuffle bool
pauseAfterCurrent bool // flag to pause playback after current track ends
@@ -97,6 +98,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()