Uri and playlists

So I posted a question about using trackdata to return to a playlist. That was not a good option. I found I could return to the current playlist with the uri below so started a new topic since it's slightly different. Should I delete the previous post?

Here is what I did but It always goes to the beginning of the playlist. Is there a way to continue playing the current song?

Here's what I have that goes to the first song in the current playlist.

First, a variable for the %TrackToPlay% and IF/Then to see if Sonos is currently playing when the door opens:

Then the code goes through different sounds to make according to what mode HSM is in.

Then at the end, it plays the track which could be blank at this point if sonos wasn't playing when the door opened.

2023-12-22_17-15-00

Would be nice to continue where sonos left off instead going to the beginning of the playlist again. Is that possible?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.