This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Check if SONOS queue is empty
#2
Hi David,

You can get the number of items from the Sonos by using MediaRenderer  -> Queue -> Browse and then invoke with QueueID = 0, StartingIndex = 0, RequestedCount = 0

If you include this in your function upnpavcmd you should be able to get the NumberReturned value that holds the number of items inside the Queue

If NumberReturned = 0 then you can start your Radio URI

See attachment for screenshot from Device Spy with the fields you need

Good luck!

BR,

Erwin

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: Check if SONOS queue is empty - by Erwin van der Zwart - 25.06.2016, 19:37

Forum Jump: