first draft of synced lyrics integration, missing seek support

This commit is contained in:
Drew Weymouth
2024-05-16 18:32:13 -07:00
parent 220d523f88
commit e8d751bc2a
2 changed files with 33 additions and 1 deletions
+2 -1
View File
@@ -241,8 +241,9 @@ func (s *nowPlayingPageState) Restore() Page {
var _ CanShowPlayTime = (*NowPlayingPage)(nil)
func (a *NowPlayingPage) OnPlayTimeUpdate(_, _ float64) {
func (a *NowPlayingPage) OnPlayTimeUpdate(curTime, _ float64) {
a.formatStatusLine()
a.lyricsViewer.UpdatePlayPos(curTime)
}
var _ CanSelectAll = (*NowPlayingPage)(nil)