
Control the Spotify macOS app from Raycast.
An extensive walk-through on how to build such an extension can be found on the developers docs.

The extension includes a Now Playing menu bar item:
Show track text in menu bar).The menu bar item updates periodically while Spotify is running.
Plays current track in Spotify.
Pause current track in Spotify.
Toggles play or pause of current track in Spotify.
Skips to the previous track in Spotify.
Skips to the next track in Spotify.
Currently playing track in Spotify.
Skips backward x seconds in Spotify.
Plays current track from the beginning in Spotify.
Skips forward x seconds in Spotify.
Increase volume in Spotify.
Decrease volume in Spotify.
Mute volume in Spotify.
Sets volume to 25% in Spotify.
Sets volume to 50% in Spotify.
Sets volume to 75% in Spotify.
Sets volume to 100% in Spotify.
Currently playing song's URL in Spotify.
Toggles shuffle mode in Spotify.
Plays current track with shuffle enabled.
Toggles repeat mode in Spotify.
Toggles Private Session in Spotify.
See what's currently playing in your Menu Bar. Click for actions such as Play/Pause and Skip. Refreshes every 10 seconds.
@raycast/api@1.94.0Allow the user to dynamically enter the steps when increasing or decreasing the volume.
Add Mute Volume command.
Show current track in HUD instead of alert.
Add Backward To The Beginning command.
Select the steps for increasing and decreasing the volume.
Add Toggle Private Session command.
Add Decrease Volume and Increase Volume commands.
Fixed shuffle and repeat commands on Spotify Controls.
Adds Toggle Repeat and Shuffle mode.
Adds currently playing and copy URL commands.
Add Spotify Controls extension
Add command preferences for enabling Next Track / Previous track HUD.