Do you get the same result when using services under Developer Tools?
Seems yes, the same result.
I have tried with Pink, instead of playing some song from Pink is playing Pink Elephant from Lena. But if I say to play Pink is playing a song from Pink.
I can’t duplicate your problem. When I use below, its all Bon Jovi:
I am only getting songs from Pink when using:
entity_id: media_player.echo_plus
media_content_id: Pink
media_content_type: AMAZON_MUSIC
What country are you in?
Germany. You think could be country related ?
Have you tried with the media_content_id as “Songs by artist name”, for example “Songs by Pink” (that actully works for me the same as just using the artist name), that may help if there is any ambiguity between an artist and a song name.
This works indeed. Thank you.
If I now I send “Songs by Alan Walker” it plays this: songs of the apple tree alan walker
But it works with Pink and Bon Jovi. Any idea how to play stations ? For example Pop Hits ?
In Routines I use “Station Name Station”, so I would think that “Pop Hits Station” would work.
I have tried Pop Hits Station already but it plays something else.
Having an issue getting this setup.
After entering my username/password, and then entering the captcha, it asks me for verification method. I tried sms and it just keeps me at the same screen. I try email and it brings me to a blank box pictured below.
Neither send an actual verification code. Anything I enter into this box does nothing.
This is what comes up in the log
2020-04-21 17:14:22 ERROR (MainThread) [homeassistant.core] Error doing job: Unclosed client session
Any tips?
EDIT: Even though my devices are on my amazon.com account, switching domain to amazon.ca logged me in and populated the devices and didn’t require the 2fa authentication token. Not sure how or why, but it works.
Remove your devices (except echos) in your amazon account and then try again.
You could possibly try it as “Station Pop Hits”, as I have had ones where it worked better having Station before the station name rather than after it.
Try creating a Routine with a Music action to experiment with different phrases. If they work in the routine they should work in the media_player.play_media service.
“Station Pop Hits” doesn’t work at all but if I send “Play Pop Hits Station” works well
This is really funny, I tried another one “Play Best of charts Station” it played something else but when I tried “Play Station Best of charts” it played Best of charts.
I’m having the same issue as MRobi. I tried using amazon.ca as suggested but doesnt work and still pops back up with verification box asking for sms/email. Neither sms or email works as I dont receive any verification code to submit. Anyone else having this issue?
EDIT: Never mind… found the issue/workaround by activating 2FA on Amazon - Unknown Error when submitting Captcha Info or Verification Method · Issue #568 · alandtse/alexa_media_player · GitHub
Hey guys,
thanks a lot for this component!
I got it working to play music from my playlist, but struggle activation the shuffle mode.
I work with node red and set up a “call service” node as follows:
{
“media_content_id”: “playlist nu metal and rock songs”,
“media_content_type”: “AMAZON_MUSIC”,
}
First, I tried adding something like “shuffle” : “1” or “true”, but this lead to an API error ;(
I know you added a shuffle entity, but I dont know how to integrate it in node red. I tried adding a service node using turn_on service for the switch, but this didnt work for me.
I’m happy for any help!
Thanks!
Hello everyone, need some help please !
I’m using the Alexa media player plug-in, all my devices are well detected.
1: I would like to know how to create a media card with an input select to have a drop down menu to choose which speaker to play on.
2: I use Amazon music as a music service, I would like to know how to play music randomly and to be able to choose which speaker to play on.
Currently I’m using a script to run Amazon music but I have a feeling it’s not the best solution.
If anytime you have some code or a model to propose me.
Thank you all (I specify that I’m a beginner so I don’t have the whole interface in hand).
I use an input select - which lists speakers and my favourite music
Then use a script to execute what has been selected
playmusic:
sequence:
- service: media_player.play_media
data_template:
entity_id: '{{ "media_player." + states("input_select.choose_player") }}'
media_content_id: '{{ states("input_select.choose_music") }}'
media_content_type: 'AMAZON_MUSIC'