I have tried playing an MP3 called "rooster.mp3" using the group announcement file setting.
2 main observations:
scenario 1: executing while there is no other song playing
scenario 2: executing while there is another song playing
scenario 1:
When there is nothing playing through the target ZonePlayer , I get the following UPnP Error 701, indicating that SoCo is trying to pause a player that is not playing, so cannot be paused. (Note: This error does not always throw when nothing is playing) It does not play the rooster.mp3 file.
- Code: Select all
Dec 28, 2023 at 10:40:18 AM
Action Group Test Sonos MP3 File Announcements
Sonos Announcement: FILE [rooster.mp3], Volume: 50
Sonos ZonePlayer: SONOS - Kitchen Speaker, Stop
Sonos ZonePlayer Group: SONOS - Kitchen Speaker, Current Group Volume: 15, New Group Volume: 50
Sonos ZonePlayer Group: SONOS - Kitchen Speaker, Mute Off
Sonos Announcement Length: 1.8272
Sonos Error UPNP Error: No Such Object
Sonos Error Offending Command -> zoneIP: 192.168.1.188, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: Play
Sonos Error Error Response: <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>701</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>
Sonos ZonePlayer: SONOS - Kitchen Speaker, Play
Sonos ZonePlayer Group: SONOS - Kitchen Speaker, Current Group Volume: 50, New Group Volume: 15
Sonos ZonePlayer: SONOS - Kitchen Speaker, Play
Sonos ZonePlayer: SONOS - Kitchen Speaker, Pause
scenario 2:
If there is a song already playing through the target player, there is no error thrown, but the rooster.mp3 file does not play:
- Code: Select all
Dec 28, 2023 at 10:39:53 AM
Action Group Test Sonos MP3 File Announcements
Sonos Announcement: FILE [rooster.mp3], Volume: 50
Sonos ZonePlayer: SONOS - Kitchen Speaker, Stop
Sonos ZonePlayer Group: SONOS - Kitchen Speaker, Current Group Volume: 15, New Group Volume: 50
Sonos ZonePlayer Group: SONOS - Kitchen Speaker, Mute Off
Sonos Announcement Length: 1.8272
Sonos ZonePlayer: SONOS - Kitchen Speaker, Play
Sonos ZonePlayer Group: SONOS - Kitchen Speaker, Current Group Volume: 50, New Group Volume: 15
Sonos ZonePlayer: SONOS - Kitchen Speaker, Play
I'm not sure if these are issues we can fix within the plugin or whether the underlying libraries need updates. I'm happy to help where I can if there are some folks willing to dig in deeper.