connect up PlayQueueList actions and remove old NowPlayingPage

This commit is contained in:
Drew Weymouth
2024-03-03 11:47:57 -08:00
parent d5aefad7c3
commit a86533b424
7 changed files with 57 additions and 287 deletions
+7
View File
@@ -118,6 +118,13 @@ func (p *PlayQueueList) SetNowPlaying(trackID string) {
}
}
func (p *PlayQueueList) UnselectAll() {
p.tracksMutex.RLock()
util.UnselectAllTracks(p.tracks)
p.tracksMutex.RUnlock()
p.Refresh()
}
func (p *PlayQueueList) lenTracks() int {
p.tracksMutex.RLock()
defer p.tracksMutex.RUnlock()