Skip to content

Commit

Permalink
Merge pull request #1644 from 1hitsong/musicStartAtTrack
Browse files Browse the repository at this point in the history
Play song as part of album
  • Loading branch information
1hitsong authored Feb 10, 2024
2 parents bfb039a + f7f43cb commit bb96006
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 @@ -399,9 +399,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 bb96006

Please sign in to comment.