Merge branch 'main' into drag-and-drop-reorder

This commit is contained in:
Drew Weymouth
2024-06-22 17:12:26 -07:00
committed by GitHub
6 changed files with 49 additions and 6 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ func NewNowPlayingPage(
a.relatedList.OnSetRating = a.queueList.OnSetRating
a.relatedList.OnSetFavorite = a.queueList.OnSetFavorite
a.relatedList.OnPlayItemAt = func(idx int) {
a.pm.LoadTracks([]*mediaprovider.Track{a.related[idx]}, backend.Replace, false)
a.pm.LoadTracks(a.related, backend.Replace, false)
a.pm.PlayTrackAt(idx)
}
a.relatedList.OnAddToQueue = func(items []mediaprovider.MediaItem) {