Giter Site home page Giter Site logo

richselwood / music-discord-rich-presence Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jojo2357/music-discord-rich-presence

0.0 0.0 0.0 19.18 MB

Provides groove discord rich presence for media playing on a computer

License: MIT License

Batchfile 16.95% C# 81.96% VBScript 0.60% JavaScript 0.49%

music-discord-rich-presence's Introduction

Discord Rich Presence For Groove (windows only)

To run, use the included launcher. After you run it once, you can rerun it from a shortcut in the generated shortcuts folder. Works with Groove, Spotify, and MusicBee

Features

  • Allows uploading album art to custom applications to display and exceed the 150 300 (got changed recently) asset maximum (see uploading custom album art for instructions)
  • Shows song title, artist, and album on any song.
  • Includes batch scripts to enable rich presence to launch when groove is opened
  • Ability to toggle media players showing up in rich presence.
  • Can run in the background or with a pretty terminal

Music Library Repo

@Smaltin and I are maintaining a library repo that allows you to find and download album art packs and contribute your own album arts for others to use. You can read more here.

Data File Validator Tool

If you get stuck, feel free to use the dat file validator and if you need more help, open an issue there. DO NOT OPEN ALBUM ART RELATED ISSUES IN THIS REPO.

About linking Groove and DRP

In order to have rich presence every time you open groovy, run the shortcut Link Rich Presence With Groove. If at any time you wish to disable this feature, simply run Unlink Rich Presence With Groove. See Linking Groove for more

Instructions

Uh, download and unzip (of course), then run the Launch DRP shortcut from the shortcuts folder Do NOT move the exe. Instead, move the provided shortcut(s) To prevent a player from showing up in the rich presence, open DiscordPresenceConfig.ini and change true to false or false to true as you desire.

Linking Groove

close Groove run Locate Groove run Link Rich Presence With Groove restart groove (it should have been opened by Locate groove) if the DRP doesnt show up within 5 seconds, run Unlink Rich Presence With Groove and try steps 1-4 again. If it still doesn't work, open up an issue and let me know whats going on.

Custom Album Art

  • My bad video tutorial: https://www.youtube.com/watch?v=_qkxjf3T8Pw (new video for 1.6.0 coming soon)
  • If you get stuck, feel free to use the dat file validator and if you need more help, open an issue there. DO NOT OPEN ALBUM ART RELATED ISSUES HERE.
  • In the clientdata folder you will find 1 text files by default for demoing. Feel free to take a look.
  • Create a discord application and set the name to be what you want displayed under your avatar (as in playing <name>)
  • Grab the client ID. We will use this later.
  • Navigate to the rich presence tab and select art assets.
  • Add an image (note that the MINIMUM size is 512x512 so you may need to resize it)
  • Set the name to be the album name with no spaces, all lower case, and remove any special characters the regex rejects (i dont know what will pass and what wont so if it doesnt work later, lmk what special characters you had and I'll add them to my filter)
  • Once you save, it may take up to 10 minutes for discord to show your pictures. Don't worry though, if you did everything right it will show.
  • Create a file in the clientdata directory and follow the model in demo.dat
  • The file is in the general format (REMOVE < and > AND FILL IN THE BLANK):
<executeable playing music name>=<player name>
id=<client ID from earlier>
Album Name 1==albumname1==Artist Name 1
Album Name 2==albumname2==Artist Name 2==Artist Name 3
Album Name 3==albumname3
  • For non latin albums, latinize it however you want and put a line in the format <Album In Japanese/Emoji/Cyrillic/Chinese/non latin alphabet>==albumkey
  • For now, the executeable playing music must be a supported player and the part after the = is ignored. In the future I do think it will have a use tho.

Changing default background

If you really want to, you can go into the ini config and swap the application id's with your own app to get your own defaults. The three images that will be pulled from this default app are <playername> <playername>_small and paused (replace with groove, spotify, etc.)

Supported Players

  • Groove Music (music.ui)
  • Spotify
  • MusicBee (More can be added, I just dunno if it's needed)

Music Bee

  • In order to be compatible with music bee, you have to add my new plugin. The WMC plugin required before is no longer needed.

The new icon is thanks to Ghoelian so thanks for that!

Licence

Since I have added more features that allow the user to do more and more, I must add that while licenced under an MIT licence, I am not responsible for any damages caused by the use or abuse of the tools that I have provided. Use for good, not evil.

music-discord-rich-presence's People

Contributors

github-actions[bot] avatar jojo2357 avatar odakab avatar smaltin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.