Skip to content

An application which lets you synchronize your spotify with others.

Notifications You must be signed in to change notification settings

jaibabbar08/SpotSync

 
 

Repository files navigation

SpotSync

An application which lets you synchronize your spotify with others.

CI Builds

Build Status

Getting Setup

  1. Clone repository git clone https://github.com/hibroseph/SpotSync.git
  2. Obtain Spotify Application Credientals
    1. If you have confidence with project owner, ask for Client Secret and Client Id of project owners Spotify application
    2. Create a Spotify application
      1. Go to Spotify Developer Dashboard and Login and Create Application
      2. Go to application dashboard and obtain Client ID and Client Secret DO NOT SHARE THIS CLIENT SECRET WITH ANYONE
  3. Add Spotify application credientals in appsettings.json
  4. Determine what port your application will use when debugging (This can be determined by running the application and seeing what the URL is)
  5. Make sure the Redirect URL in the appsettings.json is using the port that your app uses by default
  6. Copy the Redirect URL and add it as a Redirect URL in your Spotify Application in the Spotify Developer Dashboard
    1. Click Edit Settings and scroll down to Redirect URIs
    2. Enter in the Redirect URL as shown in the appsettings.json (this includes the /account/authorized)
  7. Running SpotSync you should see the main app page and be able to login.

Helpful Development/Debugging Techniques

Debugging/Debugging Party Commands

If you would like to debug how other users will be affected by party commands (such as Sync Current Song), you can create a party and add yourself to that party with the following code added into the PartyController in the Index action after the User is found

/******************* DEBUGGING CODE TO TEST PARTIES (do not send this to production) ******************************/
    var partyCode = _partyService.StartNewParty(user);

    await _partyService.JoinPartyAsync(new PartyCodeDTO { PartyCode = partyCode }, user);
/******************************************************************************************************************/

Any action you do that affects the party will affect your own Spotify so you can see what it does to your playback (and queue etc)

About

An application which lets you synchronize your spotify with others.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 56.7%
  • C# 30.9%
  • JavaScript 5.2%
  • HTML 4.8%
  • TypeScript 2.2%
  • Dockerfile 0.2%