raycast / extensions

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

[Spotify Player] Generate Playlist not working #13899

Closed melissaep closed 1 month ago

melissaep commented 2 months ago

Extension

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

Raycast Version

1.80.0

macOS Version

14.6

Description

Error:

SyntaxError: Expected ',' or ']' after array element in JSON at position 1130
    at JSON.parse (<anonymous>)
    at failureToastOptions.title (/Users/mperry/.config/raycast/extensions/320f40ef-a633-415a-ab0e-1e99515478f7/generatePlaylist.js:76:184)

Steps To Reproduce

  1. Open generate spotify playlist command
  2. Enter "jazz" as description
  3. Get error "no results"
  4. Repeat for a variety of searches

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 2 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 @rfaccio @badta5te @andyburris @thomaslombart 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` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
thomaslombart commented 2 months ago

Are you consistently experiencing the same issue each time? If so, are you also getting the same error message? Thanks!

wohfab commented 2 months ago

I think I had this once in the past but not anymore. Didn't really think about it. I'm on Version 1.81.1 and the command works as expected.

@melissaep, did you do the update to >1.81.0 in the meantime and tested it again?

psnewman commented 1 month ago

It stopped working for me too. The "Generate playlist" command with any query no longer returns songs, while the "Add Playlist to Spotify" and "Add Songs to Queue" options are still available. I don't use this command frequently, so I'm uncertain when the issue began.

thomaslombart commented 1 month ago

Yes, I had the error as well, and updating the model to GPT-4o mini under the hood seemed to do the trick. You should have faster results as well. Let me know if it still doesn't work!