This is a plugin for PowerToys Run that allows you to search Spotify and control its player.
- Search for songs, albums and artists
- Play songs, albums and artists
- Add song to queue (Shift+Enter)
- Pause and resume track
- Go to previous or next track
- Turn shuffle on and off
- Set repeat to track, context or off
Important
Spotify Premium is necessary to control the player.
- Ensure you have the latest version of PowerToys installed.
- Download the newest release zip file.
- Extract the content of the zip file to the
RunPlugins
folder of your PowerToys' installation. UsuallyC:\Program Files\PowerToys\RunPlugins
, or%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins
. - Restart PowerToys.
- Head to your Spotify developer dashboard.
- Create a new app with:
Redirect URI
set tohttp://localhost:5543/callback
Web API
andWeb Playback SDK
checked
- Go to the settings of the newly created app and save somewhere the value of
Client ID
. It is needed later. - Open PowerToys and go to the PowerToys Run section. Scroll down until you find the Spotify section. Click on it.
- Set the value of
Client ID
with the value saved earlier. - Activate PowerToys Run and type
sp
. You should see a result asking you to login to your Spotify account. Hitenter
and go through the login process. - Activate PowerToys Run again and type
sp lofi
. If the installation was a succes, you should see results.
- Ensure you have the latest version of PowerToys installed.
- Close PowerToys.
- Download the newest release zip file.
- Extract the content of the zip file to the
RunPlugins
folder of your PowerToys' installation. UsuallyC:\Program Files\PowerToys\RunPlugins
, or%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins
. - Restart PowerToys.
Open PowerToys Run (default shortcut is Alt+Space
).
- Type
sp
followed by your search query. - Select a song, album or artist and press
Enter
to play it.
- Type
sp
. - Select your desired action and press
Enter
.
Contributions are welcome! If you have any ideas, improvements, or bug fixes, please open an issue or submit a pull request.
To contribute to PowerToys-Run-Spotify, follow these steps:
- Fork the repository.
- Create a new branch for your feature/fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Submit a pull request to the main repository.
Please ensure that your code adheres to the existing code style. Also, make sure to update the documentation as needed.
Together, we can make PowerToys-Run-Spotify better!
To build and install the plugin, run BuildAndInstallPlugin.bat
. This will build the repo then copy the files to the plugins folder for PowerToys Run.
This project is licensed under the MIT License