"Direct Music Streaming Isn't Supported" Error #2774
-
I'm almost there! I got past the "500 Internal Service" error and I have an automation set up to play a sound effect when a specific trigger is enabled. Now - my Echo Dot is complaining that "Direct Music Streaming Isn't Supported", something that is set by Amazon, and not my AMP or HA. I'm attempting to play a sound effect, about 7 sec long. My "type" is set to music. If I change the type to "sound", I do not get an error, but the sound never plays, either. In my config, I've tried just the filename.mp3, then doing local/filename.mp3, and finally, the entire path, http://192.168.50.14:8123/local/filename.mp3. No errors, but no sound, either. I feel like I'm THIS CLOSE to making it work. Oh, and if I go that URL in the browser, the sound plays fine, so that path is a good one. Sean |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I'm not sure you can play any MP3 you want, I think Amazon locks down "streaming music" (per the error you're seeing). The only way I've been able to get this to work has been using the sounds that are available for AMP (noted in the docs).
Good luck. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, that's what I figured. I did grab a sound from their library, and that works fine. I'm a weather geek (out here in Iowa, sometimes it pays to be one), and when there's a tornado warning, I have HA set up to turn certain lights red. Now that I found AMP, I wanted a sound to play on all of my echoes when the "red alert" situation is encountered. I found one in the Amazon library that will suffice. Thank you @jlr2000 for the response! |
Beta Was this translation helpful? Give feedback.
-
What you have to keep in mind is that it's the Amazon Cloud instructing the Echo device to play something. It can only be something that an Alexa Routine can do. It's not occurring from within the realm of your local network. It would be like you telling me to play your file via http://192.168.50.14:8123/local/filename.mp3 which I can't! Even if your music library of MP3's were publicly available somewhere, Amazon does not permit direct streaming of MP3's. |
Beta Was this translation helpful? Give feedback.
What you have to keep in mind is that it's the Amazon Cloud instructing the Echo device to play something. It can only be something that an Alexa Routine can do. It's not occurring from within the realm of your local network. It would be like you telling me to play your file via http://192.168.50.14:8123/local/filename.mp3 which I can't! Even if your music library of MP3's were publicly available somewhere, Amazon does not permit direct streaming of MP3's.
media_content_type: sound
is only for the canned sound effects within …