wideglidejrp wrote:Good day, and happy new year. I am having trouble with Sonos plugin. I had everything except Sirius/XM working but now new problems. I am running Indigo 2023.1.1. Here is what I am getting.....
Sonos Error 'local variable 'l2p' referenced before assignment' in module 'Sonos.py', method 'actionAnnouncement [2023.0.26]'
Failing statement [line 2736]: 'self.SOAPSend(zoneIP, "/MediaRenderer", "/AVTransport", "AddURIToQueue", "<EnqueuedURI>"+l2p+"</EnqueuedURI><EnqueuedURIMetaData></EnqueuedURIMetaData><DesiredFirstTrackNumberEnqueued>0</DesiredFirstTrackNumberEnqueued><EnqueueAsNext>1</EnqueueAsNext>")'
Any suggestions?
Happy new year to you to.
This looks like a bug in the plugin. It is occurring in an area of code that hasn't been changed logic wise since the Python 2 version. I will have to try and work out what it is doing in order to resolve this.
Were you playing anything when you played the announcement because it seems like it was trying to recover what was playing and failed?