Files
mpv-discord-rpc/README.md
2026-02-18 20:23:56 +09:00

33 lines
926 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
Add `scripts/playlist.sh` to local bin or whatever and just run `playlist.sh [PATH_TO_MUSIC_FOLDER]`, this will play the songs while sending info to discord rpc
### Sample
https://github.com/user-attachments/assets/b6875694-8d65-432f-a7c4-b60807f3d7ce
<video src=".github/assets/example.mp4" type="video/mp4" width="720" controls>