Merge pull request #1644 from 1hitsong/musicStartAtTrack

Play song as part of album
This commit is contained in:
1hitsong 2024-02-10 10:26:59 -05:00 committed by GitHub
commit bb96006aa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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