226 | | {URI="x-file-cifs:...", Volume=50, Duration=15, GroupDevices="667,668"}, |
227 | | 666) |
228 | | }}} |
229 | | |
230 | | This action will pause the current playback, play the alert, and then the playback will be resumed. |
231 | | |
232 | | By using the !GroupDevices parameter, it is even possible to play the alert on several Sonos zones at the same time. This parameter represents a CSV list of deviceId's of other Sonos units that should be included during the save-play-restore model of the Alert command. |
| 226 | {URI="x-file-cifs:...", Duration=15}, |
| 227 | 666) |
| 228 | }}} |
| 229 | |
| 230 | If Duration parameter is set to a greater value than 0, this action will pause the current playback, play the alert, and the previous playback will be resumed when the delay defined by Duration expires. |
| 231 | If Duration parameter is unset or set to 0, this action will pause the current playback, play the alert, but then the previous playback will not be resumed. |
| 232 | |
| 233 | You can use the optional parameters Volume, !SameVolumeForAll, !GroupZones and !GroupDevices. The usage is exactly the same as for the Say action. |
235 | | * Parameters not specified will default internally. (''Duration=10'', ''!GroupDevices=""'', ''Volume=nil'') By default, the volume is not set. |
| 236 | * For URI parameter, you can use the same syntax as for the !URIToPlay parameter of the action !PlayURI |
| 237 | * For !GroupZones, you have to use room names (zone names defined with your Sonos application), not the name of your Vera device |
| 238 | * It is possible to use the parameter named !GroupDevices in place of !GroupZones. In this case, you must have a device in the Vera for all the Sonos zones you want to address. The value is a CSV list of device ids. For example, if your living-room and kitchen Sonos are linked respectively to devices 667 and 668 in your Vera, you will use !GroupDevices="667,668". The !GroupDevices has been kept for compatibility reasons with old versions but the use of !GroupZones is now recommended. |
| 239 | * Parameters not specified will default internally. (''Duration=0'', ''!GroupDevices=""'', ''!GroupZones=""'', ''Volume=nil'', ''!SameVolumeForAll=false'') By default, the volume is not set. |