From f7f43cbd516a34839f126f632c6840a5b87a7741 Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Fri, 12 Jan 2024 19:19:52 -0500 Subject: [PATCH] Play song as part of album --- source/Main.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Main.bs b/source/Main.bs index 2ef81455..f2a32c6a 100644 --- a/source/Main.bs +++ b/source/Main.bs @@ -388,9 +388,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, "playItem") ' User has selected audio they want us to play