Skip to content

jtpox/discord-presence-roon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Presence for Roon

Discord Presence

Show what you're listening to on Roon!

This extension allows you to display your currently listening song on your Discord Presence. It can also display album cover by searching through the Discogs database or uploading it to an anonymous Imgur album.

Unfortunately, this script has to be ran on the same instance that a Discord app is running on as it uses Discord RPC.

Features

  • Discogs Database search for Album Covers.
  • Imgur Uploads for Album Covers.

Requirements

  • NodeJS
  • Discord

Getting the Script

# NOTE: A config.json will be created by Roon in the current working directory of your terminal.
# To use the same settings, make sure the current working directory is where config.json is in.
npx jtpox/discord-presence-roon

Or, you can clone the repo and run it locally.

git clone https://github.com/jtpox/discord-presence-roon.git
cd discord-presence-roon
npm install

# Running the extension.
node .

Roon Setup

Open Roon > Settings > Extensions and enable Discord Presence Integration.

Extensions

After enabling, click on the Settings button and a modal will open. Fill in all the relevant fields and save.

Settings Modal

Discord Settings

NOTE: This step is not necessary if you want to use the Discord Client ID that is provided by default.

You will need to create a new Discord Application through the Discord Developer Portal. After creating the application, select the app and go to the settings page for OAuth2. Copy the Client ID.

Edit the Extension Settings and save.

Album Images

Default Album Image

A default image will be displayed when no album image is detected. If you are not using the default Discord Client ID that was given, you can use your own default image by uploading an art asset on your application's page at the Discord Developer Portal (My Applications > Rich Presence > Art Assets). You have to name the image roon_labs_logo.

Imgur Integration

This feature will upload the album cover of the song you are listening to an anonymous Imgur album, which will then be displayed on the Discord presence.

To use this feature, you will need to create an Imgur Application from here. Fill in all the fields. For "Authorization type", select OAuth2 authorization without a callback URL. Copy the Client ID and Client Secret.

Edit the Extension Settings, enable Imgur Integration and save.

Discogs Integration

This feature will search through the Discogs database to find the album cover to display on the Discord presence.

To use this feature, you will need a Discogs personal access token from here.

Edit the Extension Settings, enable Discogs Integration and save.

Prioritization

If both Imgur and Discogs integration are enabled, Imgur will always take priority, while Discogs will not be used.

About

Discord Presence for Roon.

Resources

License

Stars

Watchers

Forks