Media Player Transport
- Can now play audio files, like an mp3 alert, or any other media, as well as showing images, contributed by @lollox80
- Set
media_content_idin the deliverydata, relative URLs such as/local/sounds/alarm.mp3are made absolute with the external URL media_content_typedefaults tomusicfor this, and can be overridden as before
- Set
Alexa Media Player Transport
- Play an audio file, like an mp3 doorbell chime, on Echo devices with the new
audio_urldata key, contributed by @lollox80- Wrapped in an SSML
<audio>tag, followed by the message if there is one, always sent with call typettsas Alexa is silent for SSML audio inannouncemode - Relative URLs are made absolute with the external URL. Amazon requires public
httpsand 48kbps MP3, see the transport docs - Optional
audio_durationextends the wait before volume restore or music resume for longer clips - See also the Chime Transport for another way to use Alexa Media Player for sounds, and as part of mixed set of chiming devices.
- Wrapped in an SSML
Snoozing
- Fix error handling Clear Snoozes action
- Fix Enquire Snoozes listing expired snoozes
What's Changed
- feat(alexa_media_player): play an audio file via SSML with audio_url by @lollox80 in #224
- feat(media_player): play audio and other generic content, not only images by @lollox80 in #223
- fix: clear_snoozes crashes off the event loop; enquire_snoozes lists expired snoozes by @lollox80 in #225
Full Changelog: v2.10.1...v2.10.2