Skip to content

Commit

Permalink
Play song as part of album
Browse files Browse the repository at this point in the history
  • Loading branch information
1hitsong committed Jan 13, 2024
1 parent 3b888d4 commit f7f43cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Main.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7f43cb

Please sign in to comment.