Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yonka2019/spotifycontrol
Allows easily control spotify volume
https://github.com/yonka2019/spotifycontrol
csharp spotify spotify-control spotify-volume
Last synced: 13 days ago
JSON representation
Allows easily control spotify volume
- Host: GitHub
- URL: https://github.com/yonka2019/spotifycontrol
- Owner: yonka2019
- Created: 2023-07-09T12:52:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-07T08:52:54.000Z (about 1 year ago)
- Last Synced: 2024-11-07T15:51:42.630Z (2 months ago)
- Topics: csharp, spotify, spotify-control, spotify-volume
- Language: C#
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SpotifyControl
Allows easily control spotify volume via script## Getting Started
### • CLIENT ID & CLIENT SECRET
First of all, you should fill up the fields CLIENT_ID & CLIENT_SECRET in the App.config.
1. Login into [Spotify Dashboard](https://developer.spotify.com/dashboard)
2. Create a new application with redirect URI: `http://localhost:5543/callback`
3. Copy the CLIENT ID & CLIENT SECRET and fill up into App.config### • REFRESH TOKEN
Now, we should receive our refresh token in order to request the access token further.4. Build our application, go to executable file location and run `SpotifyControl r` to update the refresh token (login in the browser and wait until message ' Spotify Authorization was successful.' will be shown)
5. That's it! now you can use the application without any limits.
## Usage
`SpotifyControl +` Increase volume by 10 percent`SpotifyControl -` Decrease volume by 10 percent
`SpotifyControl 0` Set volume to 0
`SpotifyControl 100` Set volume to 100
You can change the percent which the volume increases/decreases by via changing ***VOLUME_BY*** value (by default is 10 percent)
♧ Don't forget to *rebuild* the application to save changes
## Hide the application
By default, the application runs in *Console Application* mode, if you wish to run the application in "hidden mode" you can modify the `Output type` at project properties to *Windows Application****For example, this could be used when binding the volume control to keyboard macro***