Discord Rich Presence for Media Player Classic (Home Cinema and Black Edition)
This program simply fetches playback data from MPC-HC / MPC-BE Web Interface, and displays it in your Discord profile through their wonderful Rich Presence API.
Please note that this only works with Discord desktop client, not with the web app.
- Open your Media Player Classic, go to
View > Options > Player > Web Interface
and enableListen on port:
option. The default port is13579
, but if you have changed it, please edit theconfig.js
file after you download the project.
-
Install
Node.JS
(we recommend using the latest version). Optional but better, also installYarn
. -
Download this project as a .zip file, extract it and open a terminal window in the project directory. Otherwise, if you have Git installed, run:
git clone https://github.com/angeloanan/MPC-DiscordRPC.git && cd MPC-DiscordRPC
- Install dependencies using:
npm i
If you prefer using Yarn, simply run:
yarn
Note: You can safely ignore all peer and optional dependencies warnings as they are not required for the program to work.
- Start the program using:
npm start
or via
node index.js
Now you can close the terminal.
And voilà! It will now show in your Discord profile what you're watching/listening to on MPC.
If you need MPC-DiscordRPC to stop showing your playback info, just run:
npm stop
-
Navigate to the directory where did you cloned / downloaded this project.
-
Stop the program using:
npm stop
- Update this project by redownloading this project as a .zip file and replacing the old files. Otherwise, if you have Git installed, run:
git pull
- Start the program again using:
npm start
Now you may close the terminal. The project is fully up to date!