New 2.0 development version released: P2.0.b1 and C2.0.b1
- Introducing a new phrase token: %mp3(url)%
- where url is the path to a hosted MP3 file such as http://lowrance.cc/ST/audio/Doorbell.mp3
- The entire phrase should only be: %mp3(http://lowrance.cc/ST/audio/Doorbell.mp3)%
- Don’t forget the closing )%
- Only a url ending with .mp3 is supported at this time.
- Nothing else can be used in the phrase it must only contain %mp3(url)%
- %mp3(url)% token only supports musicPlayer mode/devices (Sonos, etc).
To do: Add some error control and url checking and find actual duration of mp3 file; currently arbitrarily setting mp3 duration to 10 seconds which may not be enough for some causing cut-offs
Update using SmartThings GitHub integration or grab the code bits directly from GitHub, overwrite and publish your current 2.0 dev version:
Publish the Parent and Save the Child!
Tags of users with this specific request that I could find on this thread.
@Luigidon
@pmusselman
@gavmitchau
Here are a few other URL’s that I have hosted if you wish to use them: