From 96cbbf0e15f3407151ce30aeedb2c72da67ff96b Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Thu, 20 Jun 2024 08:11:10 -0700 Subject: [PATCH] fix double-click queuing action in related tracklist --- ui/browsing/nowplayingpage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/browsing/nowplayingpage.go b/ui/browsing/nowplayingpage.go index 1f12ec5..8a63fab 100644 --- a/ui/browsing/nowplayingpage.go +++ b/ui/browsing/nowplayingpage.go @@ -166,7 +166,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) {