All Projects → WalshyDev → Discord-Spotify-RPC

WalshyDev / Discord-Spotify-RPC

Licence: GPL-3.0 license
Spotify Rich Presence for Discord made in NodeJS

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Discord-Spotify-RPC

Last.fm Scrubbler Wpf
Manual Last.fm scrobbling for when a service (or you!) failed to scrobble.
Stars: ✭ 217 (+352.08%)
Mutual labels:  spotify
Spotmenu
Stars: ✭ 2,668 (+5458.33%)
Mutual labels:  spotify
Swdc Vscode Musictime
A VS Code extension to discover the most productive music to listen to as you code
Stars: ✭ 242 (+404.17%)
Mutual labels:  spotify
React Conf 2018
React Conf 2018 Source Code for "Moving to Suspense" Demo
Stars: ✭ 226 (+370.83%)
Mutual labels:  spotify
Ios Style
Guidelines for iOS development in use at Spotify
Stars: ✭ 233 (+385.42%)
Mutual labels:  spotify
Spotctl
A command-line interface to Spotify, written in Go
Stars: ✭ 237 (+393.75%)
Mutual labels:  spotify
Androidcourse101
Complete Android Development Course 101: Spotify Clone App
Stars: ✭ 208 (+333.33%)
Mutual labels:  spotify
Lyricsx
🎶 Ultimate lyrics app for macOS.
Stars: ✭ 3,251 (+6672.92%)
Mutual labels:  spotify
Swaglyrics For Spotify
📃 Get lyrics of currently playing Spotify song so you don't sing along with the wrong ones and embarrass yourself later. Very fast.
Stars: ✭ 235 (+389.58%)
Mutual labels:  spotify
Spotifeed
A simple service to serve up Spotify podcasts as RSS feeds for use in any podcast app.
Stars: ✭ 238 (+395.83%)
Mutual labels:  spotify
Spotlistr
🎧 Convert Anything to a Spotify Playlist!
Stars: ✭ 226 (+370.83%)
Mutual labels:  spotify
Savify
Download Spotify songs to mp3 with full metadata and cover art!
Stars: ✭ 227 (+372.92%)
Mutual labels:  spotify
Gatsby Remark Embedder
Gatsby Remark plugin to embed well known services by their URL.
Stars: ✭ 245 (+410.42%)
Mutual labels:  spotify
Spotify Qt
Lightweight Spotify client using Qt
Stars: ✭ 212 (+341.67%)
Mutual labels:  spotify
Spotitube
Synchronize your Spotify collections downloading from external providers
Stars: ✭ 250 (+420.83%)
Mutual labels:  spotify
Spotify Graphql
GraphQL schema for Spotify WebAPI — TypeScript / Node.js (v6)
Stars: ✭ 213 (+343.75%)
Mutual labels:  spotify
Mellowplayer
Moved to gitlab
Stars: ✭ 235 (+389.58%)
Mutual labels:  spotify
spotify-song-recommender
A Spotify song recommendation engine built with the power of graph analytics.
Stars: ✭ 34 (-29.17%)
Mutual labels:  spotify
Singlespotify
🎵 Create Spotify playlists based on one artist through the command line
Stars: ✭ 254 (+429.17%)
Mutual labels:  spotify
Spotifydownload
A dependency-free Spotify playlist downloader that should just work
Stars: ✭ 245 (+410.42%)
Mutual labels:  spotify

Dependencies

This requires NodeJS 8.0.0 or higher which can be downloaded from here and Git which can be downloaded from here.

For Linux users, follow these steps to install the dependencies for your distro here and here

In CMD / Terminal or whatever the equivelant is of CMD for your operating system, run: git clone https://github.com/WalshyDev/Discord-Spotify-RPC then, move into the newly created directory by executing cd Discord-Spotify-RPC and then install all packages required by Discord-Spotify-RPC: npm install and let NPM install the packages.

How to run

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

Configuration

Time setting (elapsed time)

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 amount of time Spotify/this script has been running.
song-time This will set the elapsed time to the current track position. Thanks to @mcao for PRing this.
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

Client ID

It's relatively simple to make your own application to use for RPC. First of all, head to https://discordapp.com/developers/applications/me and click on the "New App" button. none

Next, you'll want to give your application a title and upload a picture for it if you want. Please note that you cannot name it "Spotify" if you want it to show publically, as Discord has a blacklist on the names of popular applications for Rich Presence. none

Great job! You've made the application. Take note of the Client ID, you'll need it for the config file later. none

Next, you'll want to click the button at the bottom that says "Enable Rich Presence". none

Great! Rich presence is enabled. Now, go to the assets section and upload an image as a "large" image. This will be the image that show up in the client when you use it for Rich Presence. Take note of the keys for the images! Note: Discord-Spotify-RPC only supports large images right now! none

You can see your uploaded assets here, in case you need to edit them sometime in the future. You can have up to 150 of them! none

Next, go to the config file and use the values from the application to fill it in.

{
	"clientId": "Client ID goes here",
	"largeImageKey": "Large image key goes here"
}

You're good to go! Start the program, and enjoy your new Spotify Rich Presence!

Image and image text

If you want to have some text above the Spotify icon when you hover over it you can do this with a simple config option! You can also change the image easily now without having to edit the JS if you have made your own application.

You can now use the largeImageKey and largeImageText to change these values. Note If you have not made your own applicaiton do not change the largeImageKey this will result in just a black image.

Example of the new values:

{
	"largeImageText": "Walshy is cool"
}

Result:
none

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].