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.
- Discogs Database search for Album Covers.
- Imgur Uploads for Album Covers.
- NodeJS
- Discord
# 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 .
Open Roon > Settings > Extensions
and enable Discord Presence Integration
.
After enabling, click on the Settings
button and a modal will open. Fill in all the relevant fields and save.
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.
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
.
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.
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.
If both Imgur and Discogs integration are enabled, Imgur will always take priority, while Discogs will not be used.