raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.22k stars 2.91k forks source link

[Spotify Player] Radio actions now trigger completely random song #11731

Open mikestopcontinues opened 5 months ago

mikestopcontinues commented 5 months ago

Extension

https://www.raycast.com/mattisssa/spotify-player

Description

When you request start radio for either a "search" result or "now playing," instead a single, random song plays. The song always seems like it could be a later member of the particular radio playlist. However, it's only one song, and playback ends immediately after.

Steps To Reproduce

  1. Search for a song, artist, or album
  2. "Start radio"
  3. Error

OR

  1. Lookup "now playing"
  2. "Start radio"
  3. Error

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 5 months ago

Thank you for opening this issue!

🔔 @mattisssa @peduarte @sxn @dillionverma @andreaselia @stuart @tonka3000 @dancannon @pernielsentikaer @stevensd2m @erics118 @hjoelh @hobhouse @bkeys818 @jatindotdev @the-devbear you might want to have a look.

💡 Author and Contributors commands The author and contributors of `mattisssa/spotify-player` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopen the issue.
thomaslombart commented 3 months ago

So, under the hood, it's not really playing the artist's radio. What's actually happening is that we're fetching some recommendations similar to an artist or a song and then playing these recommendations. There's unfortunately no Spotify API for that, so we'll rename it to something clearer. Thanks for reporting this out!

bkeys818 commented 3 months ago

@thomaslombart Would you consider creating a tag for issues blocked by non-existent API features like this?

thomaslombart commented 3 months ago

Yeah, it's worth creating one.

mikestopcontinues commented 3 months ago

So, under the hood, it's not really playing the artist's radio. What's actually happening is that we're fetching some recommendations similar to an artist or a song and then playing these recommendations.

@thomaslombart But it's only playing a single song. That's got to be an error, right?

Does this strategy also explain why trying to play the generative "daylist" often will play the previous iteration of the playlist?

thomaslombart commented 3 months ago

But it's only playing a single song. That's got to be an error, right?

It's playing different artists for me, the playback doesn't end 🤔

Does this strategy also explain why trying to play the generative "daylist" often will play the previous iteration of the playlist?

Could you share a recording for this one? It'll make it easier to see what you mean.

mikestopcontinues commented 3 months ago

@thomaslombart On the radio point, I just tried to play Bonobo radio, and this is what loaded.

And here's a video of the daylist bug.

thomaslombart commented 3 months ago

Here's what the Spotify API says about recommendations:

CleanShot 2024-05-29 at 15 07 35@2x

It doesn't seem Bonobo is an obscure or very new artist, but it may explain why you're getting only one result. Is it consistent across all songs/artists?

For the second bug, it seems you have the shuffle option on, which may explain why it's not playing the very first song. The song should, however, be part of the playlist you just played. Is it the case?

mikestopcontinues commented 3 months ago

Hey, the first issue is the same with every artist. Madonna gives me one song as well.

The second issue has to do with dynamic playlists. It plays the previous version of the playlist, rather than the current version. It queues a completely different list of songs.

raycastbot commented 1 month ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

mikestopcontinues commented 1 month ago

Still an issue.

raycastbot commented 2 days ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊