Just purchased a SONOS and hooked up the super impressive Sonos Plugin! I went ahead and configured the uPnP Event Proxy to provide instant feedback. I’d like to push the Sonos currently playing metadata to an external display that also tracks a current track’s position. I’ve got this working when a song plays, but when a user pauses or manually changes the position of the track, I need to know what the track position is.
I only need to send the postion at play time (0h00m00s), at pause time (don’t know how to get where the song is currently at).
I know that there are some variables on the Sonos Plug that are not supported when the uPnP Event Proxy is being used. I’m guessing that one of these could help in my use case if I weren’t using the proxy. However, I’d like to use the proxy for its many other benefits.
RelativeTimePosition
AbsoluteTimePosition
RelativeCounterPosition
AbsoluteCounterPosition
Question 1:
Is there something in the Sonos plug where I could request a tracks current position or is there a way that I could make the uPnP call to get a track’s current position?
Question 2:
For non Play/Pause events, how could I determine that a track’s position was manually changed? Is there an event or a variable that I could watch or alternatively a uPnP call?
Any thoughts or suggestions would be appreciated!
Thanks!