From e9c596d256988e6a490e15aeb8a11ce7e238acb8 Mon Sep 17 00:00:00 2001 From: Michael Cresswell Date: Fri, 2 Aug 2024 15:17:01 -0400 Subject: [PATCH] Queue entire playlist when selecting song --- source/Main.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Main.bs b/source/Main.bs index a2e27b296..2f1b7135d 100644 --- a/source/Main.bs +++ b/source/Main.bs @@ -457,9 +457,9 @@ sub Main (args as dynamic) as void selectedIndex = msg.getData() screenContent = msg.getRoSGNode() - m.global.queueManager.callFunc("clear") m.global.queueManager.callFunc("resetShuffle") - m.global.queueManager.callFunc("push", screenContent.albumData.items[selectedIndex]) + m.global.queueManager.callFunc("set", screenContent.albumData.items) + m.global.queueManager.callFunc("setPosition", selectedIndex) m.global.queueManager.callFunc("playQueue") else if isNodeEvent(msg, "playAllSelected") ' User has selected playlist of of audio they want us to play