Skip to content

v2.10.2

Latest

Choose a tag to compare

@jeyrb jeyrb released this 26 Sep 14:22
· 4 commits to main since this release

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_id in the delivery data, relative URLs such as /local/sounds/alarm.mp3 are made absolute with the external URL
    • media_content_type defaults to music for this, and can be overridden as before

Alexa Media Player Transport

  • Play an audio file, like an mp3 doorbell chime, on Echo devices with the new audio_url data key, contributed by @lollox80
    • Wrapped in an SSML <audio> tag, followed by the message if there is one, always sent with call type tts as Alexa is silent for SSML audio in announce mode
    • Relative URLs are made absolute with the external URL. Amazon requires public https and 48kbps MP3, see the transport docs
    • Optional audio_duration extends 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.

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