Changes between Version 49 and Version 50 of WikiStart
- Timestamp:
- 2014-10-18 14:49:37 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v49 v50 129 129 * If you know the length of the track being played you can set a delay to occur[[BR]]e.g 3.45mins and set another file to play. 130 130 131 === Making a Sonos "Play"something ===131 === Making a Sonos play something === 132 132 This functionality is exposed declaratively through the ''PlayURI'' action under Advanced Scenes. 133 133 The functionality is also exposed programmatically via Lua code: … … 157 157 158 158 159 === Making a Sonos "Say"something ===159 === Making a Sonos say something === 160 160 The Sonos plugin exposes Text to Speech capability through Google's service. The functionality is exposed declaratively through the ''Say'' action under Advanced Scenes. 161 161 The functionality is also exposed programmatically via Lua code. … … 175 175 {{{ 176 176 luup.call_action("urn:micasaverde-com:serviceId:Sonos1", "Say", 177 {Text="The sun shines outside", Language="en", Volume= 50},177 {Text="The sun shines outside", Language="en", Volume=60}, 178 178 666) 179 179 }}} … … 206 206 Two accepted values for the engine: "GOOGLE" for the Google Internet service and "OSX_TTS_SERVER" for a personal OSX TTS server. 207 207 208 In addition, the Text to Speech capability can be setup with the following variables (use the Advancedtab to adjust the values):208 In addition, the Text to Speech capability can be setup with the following variables (use the TTS tab to adjust the values): 209 209 * `DefaultLanguageTTS` - default language used when calling the Say action; must be a string of 2 characters 210 210 * `DefaultEngineTTS` - default engine used when calling the Say action; must be either GOOGLE or OSX_TTS_SERVER … … 248 248 * `DefaultLanguageTTS` - default language for TTS, for example "en" 249 249 * `DefaultEngineTTS` - default engine for TTS, either "GOOGLE" or "OSX_TTS_SERVER" 250 * `DiscoveryPatchInstalled` - "1" when the !UPnP discovery patch is installed or "0" when not installed 250 251 * `DiscoveryResult` - for plugin internal usage 251 252 * `FetchQueue` - "1" when the Sonos queue is read by the plugin or "0" when not 252 253 * `GroupCoordinator` - UUID of the group coordinator 253 254 * `OSXTTSServerURL` - URL of the TTS server 255 * `PluginVersion` - plugin version 254 256 * `ProxyUsed` - "proxy is in use" or "proxy is not in use" to indicate if the UPnP event proxy is in use 255 257 * `RouterIp` - router/firewall IP when the Sonos unit can access the Vera only with a port forwarding rule