926 B
926 B
⚠️ 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'sapplication idmusic_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