How to replicate the browse media command in an automation?

I am unable to start Plex music on my Sonos speaker via an automation, but it works well if I use the browse media widget and select a playlist there. Is there a way to capture what the media player is doing in an automation?

1 Like