We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sonos -a spotify:track:26DGqPBe4GnSu6KRxpKq1F
Gives:
TypeError: Cannot read property '0' of undefined /usr/lib/node_modules/sonos_cli/sonos_additions.js:61 var newIndex = _.reduce(data[0].FirstTrackNumberEnqueued, function(it, num){
Wireshark capture
POST /MediaRenderer/AVTransport/Control HTTP/1.1 SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#AddURIToQueue" Content-type: text/xml; charset=utf8 host: 10.0.0.97:1400 content-length: 1207 Connection: close <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:AddURIToQueue xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> <EnqueuedURI>x-sonos-spotify:spotify%3Atrack%3A26DGqPBe4GnSu6KRxpKq1F</EnqueuedURI> <EnqueuedURIMetaData><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="00030000spotify%3Atrack%3A26DGqPBe4GnSu6KRxpKq1F" restricted="true"><dc:title>America</dc:title> <upnp:class>object.item.audioItem.musicTrack</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON2311_X_#Svc2311-0-Token</desc></item></DIDL-Lite></EnqueuedURIMetaData> <DesiredFirstTrackNumberEnqueued>NaN</DesiredFirstTrackNumberEnqueued> <EnqueueAsNext>0</EnqueueAsNext> </u:AddURIToQueue></s:Body></s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <s:Fault> <faultcode>s:Client</faultcode> <faultstring>UPnPError</faultstring> <detail> <UPnPError xmlns="urn:schemas-upnp-org:control-1-0"> <errorCode>800</errorCode></UPnPError> </detail> </s:Fault> </s:Body> </s:Envelope>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Gives:
Wireshark capture
The text was updated successfully, but these errors were encountered: