Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

asm512/Discord-RPC_Spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-RPC_Spotify

alt text

Changelog:

*16/01/18 - Refactor entire codebase and basically rewrite plugin from scratch (#f5e4af6)

Discord-RPC_Spotify is a plugin which, with help from the Spotify Local API Library, exposes Spotify's current play status and displays it via Discord Rich Presence.

During the time of development, Discord decided to update the UI meaning that on single click on a user's name you won't be able to see the entire song, or most of it rather, but right click > profile will still yield the full information.

Kind of important note : the Discord API limits requests at intervals less than 15 seconds, meaning that at certain points the current display may be outdated.

Old Discord Layout (Pre 30th November 2017)

alt text

alt text

New Discord Layout (30th November 2017 onwards)

alt text

alt text

New Discord Layout (January? 2017 onwards)

alt text

Stuff to add and fixes:

  • Find a way to correctly handle status.Track.TrackResource.Name returning null (haven't looked into it properly since I can't force an ad to play)

Third party libraries used

How to build the project

  • Install the third party libraries listed above (reccomended from NuGet), and ensure that all are fully updated
  • Ensure that any relative or full paths are corrected, such as path to icon
  • Download the Discord RPC DLL and ensure it's in the bin folder
  • Profit

Development

Feel free to fork the project and PR any changes, feel free to open up an issue too.

MIT