Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruslang02/discord-mpris
MPRIS music client to displaying currently playing music on Discord Rich Presence.
https://github.com/ruslang02/discord-mpris
discord discord-api discord-js mpris rich-presence
Last synced: 18 days ago
JSON representation
MPRIS music client to displaying currently playing music on Discord Rich Presence.
- Host: GitHub
- URL: https://github.com/ruslang02/discord-mpris
- Owner: ruslang02
- Created: 2020-05-16T00:36:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T20:27:01.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T05:10:11.821Z (3 months ago)
- Topics: discord, discord-api, discord-js, mpris, rich-presence
- Language: TypeScript
- Homepage:
- Size: 302 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord Rich Presence client for MPRIS players
An attempt to mimicking Spotify's Rich Presence as much as possible.
![Screenshot](screenshot.png)
**Warning!** Requires a user account token and a Rich Presence app on . User token is used to send data to manage Rich Presence assets which may be seen as a violation of Discord ToS, we don't take responsibility for any accounts banned, proceed at your own risk.
## Supported players
- [YouTube Music app for Nuvola Apps Service](https://nuvola.tiliado.eu/app/youtube_music)## Installation
Requires Node.JS and NPM installed:
```bash
git clone https://github.com/ruslang02/discord-mpris # Clone the repo
npm install # Install all dependencies
npm run build # Build TypeScript files
```After this you need to create an application at . You are also required to add assets (images) with names `playing`, `paused` and `default` (when an album cover does not exist).
Then you need to configure your installation using the `config.js` file, sample of which is located in the `config.sample.js` file. Retrieve your application ID and user token and you should be ready to go.
```bash
npm start # Run the plugin
```## Alternatives
- [FichteFoll/discordrp-mpris](https://github.com/FichteFoll/discordrp-mpris), written in Python3, no assets management.
- [diamondburned/discord-mpris](https://gitlab.com/diamondburned/discord-mpris/), written in Go, very little functionality.## What is impossible
- Implementing song's title instead of application's name is not possible due to heavy caching of Rich Presence application information.
- Listen together, Play on *smth*, fancy progress bar as they are exclusive to Spotify.## TODO
- Ability to work without the asset management.
- Support for other media players, auto-switching.
- More Oomph!