+
Skip to content

angeloanan/MPC-DiscordRPC

Repository files navigation

MPC-DiscordRPC

Discord Rich Presence for Media Player Classic (Home Cinema and Black Edition)

Media Player Classic Home Cinema and Black Edition Rich Presence on Discord small profile

How does this work?

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.

How to install

  1. Open your Media Player Classic, go to View > Options > Player > Web Interface and enable Listen on port: option. The default port is 13579, but if you have changed it, please edit the config.js file after you download the project.

Enable the option "Listen on port"

  1. Install Node.JS (we recommend using the latest version). Optional but better, also install Yarn.

  2. 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
  1. 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.

  1. 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

How to update

  1. Navigate to the directory where did you cloned / downloaded this project.

  2. Stop the program using:

npm stop
  1. 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
  1. Start the program again using:
npm start

Now you may close the terminal. The project is fully up to date!

About

Discord Rich Presence for Media Player Classic

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载