getPlayQueue func

This commit is contained in:
Siiiiinth
2026-01-24 23:32:02 +01:00
parent 42d3ee4973
commit 902e6e3dc8
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -557,7 +557,7 @@ func (p *PlaybackManager) fetchAndPlayTracks(fetchFn func() ([]*mediaprovider.Tr
}
func (p *PlaybackManager) GetPlayQueue() []mediaprovider.MediaItem {
return p.engine.GetPlayQueue()
return p.engine.GetPlayQueueDeepCopy()
}
// Any time the user changes the favorite status of a track elsewhere in the app,