All Projects → angeloanan → MPC-DiscordRPC

angeloanan / MPC-DiscordRPC

Licence: MIT license
Discord Rich Presence for Media Player Classic

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to MPC-DiscordRPC

Mpc Hc
MPC-HC's main repository. For support use our Trac: https://trac.mpc-hc.org/
Stars: ✭ 3,567 (+5304.55%)
Mutual labels:  media-player, mpc-hc
Flyleaf
Media Player .NET Library for WPF/WinForms (based on FFmpeg/DirectX)
Stars: ✭ 323 (+389.39%)
Mutual labels:  media-player
Libvlc Go
Go bindings for libVLC and high-level media player interface
Stars: ✭ 188 (+184.85%)
Mutual labels:  media-player
ValorantRichPresence
VALORANT Discord Rich Presence written in Python.
Stars: ✭ 16 (-75.76%)
Mutual labels:  discordrichpresence
Python Mpv
Python interface to the awesome mpv media player
Stars: ✭ 245 (+271.21%)
Mutual labels:  media-player
react-native-vlc-media-player
React native media player for video streaming and playing. Supports RTSP, RTMP and other protocols supported by VLC player
Stars: ✭ 221 (+234.85%)
Mutual labels:  media-player
React Player Controls
⏯ Dumb and (re)useful React components for media players.
Stars: ✭ 176 (+166.67%)
Mutual labels:  media-player
Helia
Media Player & IPTV & Digital TV ( DVB, ATSC, DTMB, ISDB )
Stars: ✭ 24 (-63.64%)
Mutual labels:  media-player
Rise-Media-Player
One media player for everything you own or stream; whether it's music or videos, online or offline Rise Media Player does it all. And it's beautiful and native with the latest version of WinUI.
Stars: ✭ 600 (+809.09%)
Mutual labels:  media-player
bigscreen-player
Simplified media playback for bigscreen devices
Stars: ✭ 62 (-6.06%)
Mutual labels:  media-player
TonUINO
Alternative TonUINO Firmware
Stars: ✭ 112 (+69.7%)
Mutual labels:  media-player
vscode-mediaplayer
Mediaplayer extention for VS Code
Stars: ✭ 18 (-72.73%)
Mutual labels:  media-player
Chleon-Player
A minimalistic media player which adjusts the color based on the wallpaper or cover.
Stars: ✭ 29 (-56.06%)
Mutual labels:  media-player
Easyplayerpro Win
EasyPlayerPro是一款全功能的流媒体播放器,支持RTSP、RTMP、HTTP、HLS、UDP、RTP、File等多种流媒体协议播放、支持本地文件播放,支持本地抓拍、本地录像、播放旋转、多屏播放、倍数播放等多种功能特性,核心基于ffmpeg,稳定、高效、可靠、可控,支持Windows、Android、iOS三个平台,目前在多家教育、安防、行业型公司,都得到的应用,广受好评!
Stars: ✭ 226 (+242.42%)
Mutual labels:  media-player
slingr
A simple CLI for UPnP media file streaming
Stars: ✭ 32 (-51.52%)
Mutual labels:  media-player
Nicevieoplayer
IjkPlayer/MediaPlayer+TextureView,支持列表,完美切换全屏、小窗口的Android视频播放器
Stars: ✭ 2,114 (+3103.03%)
Mutual labels:  media-player
obplayer
📻 OBPlayer Streaming Automation Playout with CAP EAS Alerting
Stars: ✭ 93 (+40.91%)
Mutual labels:  media-player
bShaders
Video playback Effects/Filters (DirectX .hlsl pixel shaders, mpv .hook)
Stars: ✭ 29 (-56.06%)
Mutual labels:  mpc-hc
win95-media-player
💿 Back from 1995, and running on your website
Stars: ✭ 56 (-15.15%)
Mutual labels:  media-player
hifiberry
This is a custom component to allow control of HifiberryOS devices in Home Assistant using the audiocontrol2 REST API.
Stars: ✭ 26 (-60.61%)
Mutual labels:  media-player

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

  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

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

Note: Using npm start will start the program as a background process so you don't need to keep a terminal window open in order to keep the script running. Thus, you may close your terminal window after running this command.

And voilà! It will now show in your Discord profile what you're watching/listening to on MPC.

If you started the program using npm start and 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 and open a terminal window.

  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
  2. Start the program again using:

npm start

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

config.js options

exports.port

Default: 13579

Port on which MPC Web Interface is running. See the How to install section above to learn more.

exports.ignoreBrackets

Default: true

Whether to omit brackets [] and its content in filenames. Useful if you don't want to show on your profile those info tags that usually comes inside brackets in filenames, like [1080p], [Translator Group Name], etc. You can set it to false or remove this line to turn off this behavior.

exports.ignoreFiletype

Default: false

Whether to omit filetype. Useful if you don't want to show on your profile the type of the file that is currently open, for example .mp4, .mkv, .flac. You can set it to true to turn on this behavior.

exports.replaceUnderscore

Default: true

Whether to replace _ with space. Useful if you have files like Your_Favourite_Movie. You can set it to false or remove this line to turn off this behavior.

exports.replaceDots

Default: true

Whether to replace dot (.) characters (except the file extension one) with spaces. This way, Your.Favourite.Movie.mp4 will be displayed as Your Favourite Movie.mp4. You can set it to false or remove this line to turn off this behavior.

exports.showRemainingTime

Default: false

Whether to display the current file's remaining playback time while playing, instead of showing the elapsed time.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].