Page 1 of 1

Error in MP3 announcement

PostPosted: Fri Sep 02, 2016 10:39 am
by MarcoGT
Hi,

I have the latest version and I get:

Code: Select all
Sonos                           Announcement: Vitamina D per Sara, Volume: 20
  Sonos                           remove zone from group: Sonos Sala
  Sonos                           ZonePlayer: Sonos Sala, Stop
  Sonos                           ZonePlayer: Sonos Sala, Current Volume: 20, New Volume: 20
  Sonos                           Announcement Length: 1.54116666667
  Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 189, in actionZP_announcementMP3
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1763, in actionAnnouncement
TypeError: cannot concatenate 'str' and 'NoneType' objects

Re: Error in MP3 announcement

PostPosted: Fri Sep 02, 2016 1:38 pm
by nlagaros
In the plugin configuration, did you fill in the HTTP Streaming IP and HTTP Streaming Port?

MarcoGT wrote:
Hi,

I have the latest version and I get:

Code: Select all
Sonos                           Announcement: Vitamina D per Sara, Volume: 20
  Sonos                           remove zone from group: Sonos Sala
  Sonos                           ZonePlayer: Sonos Sala, Stop
  Sonos                           ZonePlayer: Sonos Sala, Current Volume: 20, New Volume: 20
  Sonos                           Announcement Length: 1.54116666667
  Sonos Error                     Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 189, in actionZP_announcementMP3
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 1763, in actionAnnouncement
TypeError: cannot concatenate 'str' and 'NoneType' objects

Re: Error in MP3 announcement

PostPosted: Sat Sep 03, 2016 1:27 pm
by MarcoGT
The HTTP Streaming IP was empty, so I wrote the Indigo Server IP.
Now everything works fine, but I saw the following problem, scenario is:

- Sonos was playing
- I pause it with the button on the Sonos
- Some minutes/hours later there is an announcement
- If I play again the Sonos using the button, the I get the LED blinking orange, because the queue was emptied. If in between there was no announcement, then playing with the button worked