Skip to content
 
 

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Download the zip, extract to a directory then open CMD in that directory and run npm i and let npm install the packages.

Setup

Sadly some libs haven't been updated in a while to apply some fixes so you will need to edit 2 files in order for this to work.

wintools

Edit the /lib/ps.js so line 11 has a maxBuffer. Here is the new line 11 exec('wmic process list /format:csv', {maxBuffer: 2000*1024}, function (err, stdout, stderr) {

node-spotify-webhelper

You need to edit 2 lines here, line 15 the DEFAULT_PORT var, change the value to 4381. Next go to line 158 and change the https://%s:%d%s to http://%s:%d%s

With them 2 files edited you should be good to go.

How to run

Run npm start in console after the setup steps and boom! Rich Presence with your Spotify!

Configure

By default the time option is song-time which will display the elapsed time as the current song time.

Available options

Option Description
overall This will set the elapsed time to the current track position. Thanks to @mcao for PRing this.
song-time Show file differences that haven't been staged
none Remove the elapsed time and just show the "Playing {track}\nBy {artist}"

Just go to the config.json and change the "time" to any of these. Example:

{
    "time": "none"
}

Result:
none

About

Spotify Rich Presence for Discord made in NodeJS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages