Very nice package! Thanks for putting it together. I'm trying to queue up an item from Sonos favorites, but the call to AddTrackToQueueAsync returns System.InvalidOperationException: 'Sequence contains no elements'. After stepping through the code with a debugger, it looks like the call to InvokeFuncWithResultsAsync is returning an error 402. I'm using the defaults for desiredFirsttrackNumberEnqueued, and enqueueAsNext, this URL: x-sonosapi-hls:r%3athepulse?sid=37&flags=8480&sn=1
Interestingly, when I execute the same action with the same parameters through Intel's Device Spy, the invocation completes successfully, and the media item is queued.
I'd appreciate any help you can provide.
Very nice package! Thanks for putting it together. I'm trying to queue up an item from Sonos favorites, but the call to AddTrackToQueueAsync returns System.InvalidOperationException: 'Sequence contains no elements'. After stepping through the code with a debugger, it looks like the call to InvokeFuncWithResultsAsync is returning an error 402. I'm using the defaults for desiredFirsttrackNumberEnqueued, and enqueueAsNext, this URL:
x-sonosapi-hls:r%3athepulse?sid=37&flags=8480&sn=1Interestingly, when I execute the same action with the same parameters through Intel's Device Spy, the invocation completes successfully, and the media item is queued.
I'd appreciate any help you can provide.