Update README.md
This commit is contained in:
parent
7db579976b
commit
dfe16fcc8b
25
README.md
25
README.md
@ -1 +1,26 @@
|
|||||||
# spotify-discord-rpc
|
# spotify-discord-rpc
|
||||||
|
|
||||||
|
## What It Does
|
||||||
|
The name is misleading, it actually just shows anything you're currently scrobbling to LastFM on your discord rich presence. I just use it for spotify which is why I named it this. To enable LastFM scrobbling in Spotify, simply go to settings and link your account.
|
||||||
|

|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
The dependencies for building this project are two header only libraries:
|
||||||
|
- https://github.com/nlohmann/json
|
||||||
|
- https://github.com/yhirose/cpp-httplib
|
||||||
|
|
||||||
|
|
||||||
|
## Config
|
||||||
|
The `config.json` file is simple:
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"lfm_api_key": "",
|
||||||
|
"dsc_app_id": "388745305543147540",
|
||||||
|
"lfm_user": ""
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Place it in the same directory as the executable.
|
||||||
|
|
||||||
|
`lfm_api_key` is your LastFM API key, obtained [here](https://www.last.fm/api/account/create).
|
||||||
|
`dsc_app_id` is the ID of the discord app to use. The one provided is one I created already, but use your own if you want to change the name or the image.
|
||||||
|
`lfm_user` is your LastFM username.
|
||||||
|
Loading…
Reference in New Issue
Block a user