Sonos locked down so you cant get trackdata. WebCoRE is the cure


#1

@ady624 is the solution to most things :slight_smile:


TrackData is a bunch of data, and the uri for the radio channel is in there.


#2

Ah, should have thought of that. I’ve been copying the track and playlist info from the IDE. But this should be easy to parse. Something like this for the trackURI

 left(mid([Sonos 1:trackdata],indexOf([Sonos 1:trackdata], 'trackUri')+11),indexOf(mid([Sonos 1:trackdata],indexOf([Sonos 1:trackdata], 'trackUri')),'transportUri')-14)