sonos-web / sonos-web

Sonos controller for your web browser
GNU General Public License v3.0
251 stars 34 forks source link

Unpairing a stereo pair crashes sonos-web #151

Open bmn001 opened 1 year ago

bmn001 commented 1 year ago

Stereo-paired speakers (where one speaker is Left, one is Right) show up in the UI as if it's a room that's been paired with itself.

The name of the room will show up as "Roomname + 1" and the room that it's paired with will also be "Roomname".

In this example I have two Ikea Symfonisk speakers in Office, one is left and one is right:

image

If I click the X as if I were to ungroup this room, sonos-web crashes:

/sonos-web/server/node_modules/sonos/lib/services/Service.js:87
              myError = new Error('upnp: statusCode 500 & upnpErrorCode ' + error.response.data)
                        ^

Error: upnp: statusCode 500 & upnpErrorCode <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>1023</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>
    at /sonos-web/server/node_modules/sonos/lib/services/Service.js:87:25
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
TomErnst1972 commented 11 months ago

i have the same problem, is there some workaround i could apply?