very WIP - proof of concept for waveform seekbar

This commit is contained in:
Drew Weymouth
2025-07-23 22:10:33 -07:00
parent dfa493501d
commit ae7cb55c8c
5 changed files with 301 additions and 6 deletions
+5 -1
View File
@@ -582,7 +582,11 @@ func (p *playbackEngine) cacheNextTracks() {
}
}
}
p.audiocache.CacheOnly(p.NowPlaying().Metadata().ID, fetch)
id := ""
if np := p.NowPlaying(); np != nil {
id = np.Metadata().ID
}
p.audiocache.CacheOnly(id, fetch)
}
}