Files
mpv-discord-rpc/README.md
2025-12-21 20:40:14 +09:00

30 lines
763 B
Markdown

# ⚠️ This is a public mirror
Main repo is self hosted on gitea
# mpv Discord RPC
For updating discord music status when playing with mpv
## Note
For Linux only
### Build
```
cd scripts
./build.sh
# this creates mpv-discord-rpc binary in the root project folder
```
### Run
Running the built binary `mpv-discord-rpc` the first time will create the config file in `~/.config/mpv-discord-rpc`, fill in the config with the correct data:
- `client_id`: Your own created discord application's `application id`
- `music_folders`: The folder(s) of music that you want discord to see
### Sample
<video src=".github/assets/example.mp4" type="video/mp4" width="720" controls>
https://github.com/user-attachments/assets/786e1dc3-d712-44d9-a2b9-58cc3c9922c9