Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shuffle does not work with play_media for Amazon Music #1327

Closed
energywave opened this issue Jun 21, 2021 · 5 comments
Closed

Shuffle does not work with play_media for Amazon Music #1327

energywave opened this issue Jun 21, 2021 · 5 comments
Labels
amazonissue Issue needs to have a change made by Amazon

Comments

@energywave
Copy link

Describe the bug
Shuffle of Amazon Music playlist as documented in the following screenshot of the doc wiki stopped working time ago. Time to fix it :)
It's the same as if you don't specify shuffle. No shuffle is happening anymore. The playlist is reproduced in an ordered way.

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to device tools -> services
  2. Try the following code:
service: media_player.play_media
data:
  entity_id: media_player.pian_terreno
  media_content_id: 'shuffle playlist viral hits'
  media_content_type: AMAZON_MUSIC
  1. Please note that Alexa starts ever with the first song and then the second, etc

Expected behavior
A randomized play of songs, like it was some versions ago (don't remember the version when it broke exactly). A workaround is to start the play, activate the shuffle entity and then go to next song but it's very ugly...

Screenshots

System details

  • Home-assistant (version): 2021.6.6
  • Hassio (Yes/No): yes
  • alexa_media (version from const.py or HA startup): 3.10.6
  • alexapy (version from pip show alexapy or HA startup): 1.25.1
  • Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: y

Logs
I don't think logs are needed as I'm sure it's not a problem of my installation. But if I have to I'll generate them.

Additional context

@alandtse
Copy link
Owner

If the command isn't working anymore that's an Amazon issue. We're just passing it to Amazon to process. Feel free to update the wiki with a link to this issue to indicate it has been removed from Amazon.

@alandtse alandtse added the amazonissue Issue needs to have a change made by Amazon label Jun 22, 2021
@alandtse alandtse changed the title Shuffle play in Amazon Music don't works anymore Shuffle does not work with play_media for Amazon Music Jun 22, 2021
@energywave
Copy link
Author

Done, I've added that info to the wiki. Please review my edit if you want. ...and keep on the great work!

@fearandloathinginithell

Shuffle appears to be working now, at least with Apple Music

@dedors
Copy link

dedors commented Mar 26, 2023

Working here too with spotify:
media_content_id: "Shuffle My Playlist PLAYLISTNAME"
Enables shuffle AND starts playing a random song.

Thanks for leaving it in the docs! :)

@lymanepp
Copy link
Contributor

lymanepp commented Jul 9, 2023

Working here too with spotify:
media_content_id: "Shuffle My Playlist PLAYLISTNAME"
Enables shuffle AND starts playing a random song.

Yes, that syntax works with Spotify. Thanks for sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazonissue Issue needs to have a change made by Amazon
Projects
None yet
Development

No branches or pull requests

5 participants