https://github.com/waaverecords/cmdpal.ext.spotify
Search through and control Spotify from CmdPal.
https://github.com/waaverecords/cmdpal.ext.spotify
cmdpal csharp powertoys spotify
Last synced: 19 days ago
JSON representation
Search through and control Spotify from CmdPal.
- Host: GitHub
- URL: https://github.com/waaverecords/cmdpal.ext.spotify
- Owner: waaverecords
- License: mit
- Created: 2025-04-03T11:21:10.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2025-04-05T23:20:49.000Z (23 days ago)
- Last Synced: 2025-04-05T23:25:06.158Z (23 days ago)
- Topics: cmdpal, csharp, powertoys, spotify
- Language: C#
- Homepage:
- Size: 52.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spotify Extension for CmdPal
This is an extension for [PowerToys](https://github.com/microsoft/PowerToys) [Command Palette](https://learn.microsoft.com/en-us/windows/powertoys/command-palette/overview) that allows you to search Spotify and control its player.
## Features
- Search for songs, albums, artists and playlists
- Play songs, albums, artists and playlists
- Pause and resume track
- Go to previous or next track
- Turn shuffle on and off
- Set repeat to track, context or off## Installation
> [!IMPORTANT]
> Spotify Premium is necessary to control the player.1. Ensure you have the [latest version](https://github.com/microsoft/PowerToys/releases/latest) of PowerToys installed.
2. Download the [newest release](https://github.com/waaverecords/CmdPal.Ext.Spotify/releases/latest) zip file.
3. Extract the zip file.
4. Import the `waaverecords.pfx`certificate (by double clicking on it and going through the import wizard).
- Use `Local Machine` for the store location.
- Use the following password when prompted for it: `58loiGU<1N2#`.
- Place the certificate in the `Trusted People` store.
5. Execute the `CmdPal.Ext.Spotify_[version]_x64` file to install the extension.
6. Head to your Spotify [developer dashboard](https://developer.spotify.com/).
7. Create a new app with:
- `Redirect URI` set to `http://localhost:5543/callback`
- `Web API` and `Web Playback SDK` checked
8. Go to the settings of the newly created app and save somewhere the value of `Client ID`. It is needed later.
9. Open the Command Palette Settings and go to the Extensions section. Scroll down until you find the `Spotify control` section.
10. Set the value of `Client ID` with the value saved earlier.
11. Reload extensions (Execute the Reload command).
12. Type `spotify` in Command Palette. You should see `Spotify control`. Hit `enter` and go through the login process.## Contributing
Contributions are welcome! If you have any ideas, improvements, or bug fixes, please open an issue or submit a pull request.
To contribute to CmdPal.Ext.Spotify, follow these steps:
1. Fork the repository.
2. Create a new branch for your feature/fix.
3. Make your changes and commit them with descriptive commit messages.
4. Push your changes to your forked repository.
5. 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 CmdPal.Ext.Spotify better!
## Development
To build and install the extension, simply run the solution.
// TODO: debounce search to avoid calling spotify api on every new character entered
// TODO: refresh search after login
// TODO: usage doc
// TODO: msix app logo
// TODO: extension icon
## License
This project is licensed under the [MIT License](LICENSE)