[Spotify Player] says "bad gateway" when play/pausing
Extension
https://raycast.com/mattisssa/spotify-player
Raycast Version
1.83.1
macOS Version
Sequoia 15.0
Description
I'm using the spotify extension and raycast shortcut to play/pause. It says "bad gateway" upon first using the shortcut to toggle play, but if I use it a second time it plays. However, it is unable to toggle pause.
Gets this:
Error: Bad gateway.
Jd:pause.ts:19:10
---
16: return;
17: }
18: console.log("pause.ts Error: ", error);
19: throw new Error(error);
20: }
21: }
22:
---
async onAction:nowPlaying.js:60:4591
Steps To Reproduce
Using option + space as a shortcut to toggle play/pause. option+space once = 'bad gateway'. option+space again = toggles play. option+space a third time to toggle pause = 'bad gateway' and does not pause. Further option+space leads to the same result (i.e., unable to pause).
Current Behaviour
Unable to toggle pause; able to toggle play but after 2 commands and with 'bad gateway' popping up.
Expected Behaviour
Able to toggle play/pause.
Thank you for opening this issue!
🔔 @mattisssa @peduarte @sxn @dillionverma @andreaselia @stuart @tonka3000 @dancannon @pernielsentikaer @stevensd2m @erics118 @hjoelh @hobhouse @jatindotdev @the-devbear @rfaccio @badta5te @andyburris @rhesamu 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 issueCloses the issue. -
@raycastbot close as not plannedCloses the issue as not planned. -
@raycastbot rename this issue to "Awesome new title"Renames the issue. -
@raycastbot reopen this issueReopens the issue. -
@raycastbot assign meAssigns yourself to the issue. -
@raycastbot good first issueAdds the "Good first issue" label to the issue. -
@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
Could you share a recording? It'll make it easier to see what's happening.
Not sure if appropriate to add to this or open my own? Similar behavior but when utilizing the menu bar GUI. Play/Pause results in "Bad Gateway" . Next/Previous results in " Payer Command Failed: No Active Device Found"
It seems like both play/pause toggles correctly for me now. However, on the 'now playing' interface (which I also use to toggle play/pause), it doesn't update upon toggling. I.e., upon toggling pause, the music does pause, but the command prompt still reads 'pause' rather than 'play'. Subsequent command to 'pause' causes an 'error, please reload' screen. Upon reloading, the toggle resets and shows the correct command prompt 'play'.
I get this error:
Error:
Error: Player command failed: Restriction violated
Jd:pause.ts:19:10
---
16: return