Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Birath authored Feb 18, 2019
1 parent f798a7d commit 7f70341
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Spotify Volume Controller lets you hook two keys (for example your volume contro

## Usage
To use Spotify Volume Controller you need to create an application using the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard/applications).
After creating an application, go into its settings and add a *Redirect URI*. ```http://localhost:5000/callback``` is default callback URI in the config, but you can use whatever you want as long as you set it in the config file.
After creating an application, go into its settings and add a *Redirect URI*. ```http://localhost:5000/callback``` is default callback URI, but you can use whatever you want as long as you set it in the config file.

Then copy the *client secret* and the *client id* values in the ```config-example.json``` file as strings. After that rename the file to ```config.json``` and start the program. Follow the instructions and if everything is correct it should be able to authorize it self.
Then copy the *client secret* and the *client id* values to the ```config-example.json``` file as strings. After that rename the file to ```config.json``` and start the program. Follow the instructions and if everything is correct it should be able to authorize it self.

## Changing volume keys
If the default values aren't working or you just want to use different keys just change the ```volume_up``` and ```volume_down``` values in the config file.
Expand Down Expand Up @@ -38,4 +38,4 @@ vcpkg install cpprestsdk:x64-windows-static
* Go to *C/C++ -> Preprocessor* and add **_NO_ASYNCRTIMP=1** to *Preprocessor Definitions*.
* Then go to *Linker -> Input* and add **cpprest_2_10.lib;bcrypt.lib;crypt32.lib;winhttp.lib;httpapi.lib;zlib.lib;** to *Additional Dependencies*.
* Lastly go to *C/C++ -> Code Generation* and set *Runtime Library* to **Multi-threaded (/MT)**.
* Now just build the project as usual and the ```.exe``` that is generated should include all needed DLL's.
* Now just build the project as usual and the ```.exe``` that is generated should include all needed DLL's.

0 comments on commit 7f70341

Please sign in to comment.