Setting up song requests - songify-rocks/Songify GitHub Wiki

Spotify Setup

To enable song requests, you'll need to authenticate with the Spotify API.

  1. Visit the Spotify Developer Dashboard, log in, and create a new app.
  2. On the app creation page, enter an App Name (e.g., Songify) and a description of your choice. For the Redirect URI, use http://localhost:4002/auth.
  3. Once created, click Settings in the top right. Here, you'll find the Client ID and Client Secret.
  4. In Songify, go to Settings -> Spotify, and paste the Client ID and Client Secret into the appropriate fields.
  5. Toggle the switch to enable "Use Own AppID".
  6. Close the settings window, which will prompt you to restart the app (click Yes).
  7. After restarting, navigate to Settings -> Spotify -> Link to connect your Spotify account.
  8. If everything is set up correctly, you should see "Linked account: Your Spotify username" along with your profile picture.

Spotify Dashboard

Twitch

In order to have song requests working you need to authenticate to the Twitch API.

  1. Go to settings -> twitch and click on "Log in with Twitch".
  2. Authorize the Songify app.
  3. You'll get redirected to a success page.
  4. If you want to use a secondary account, for example, a bot account. Then log in with that account too. You will be asked if you want to use that account for chat actions.

Song Requests

Song requests only work with Spotify Premium.

Make sure you followed the steps above to set up Spotify and Twitch.

  1. Go to settings -> twitch -> rewards and click on "Create New Reward".
  2. Fill in the title, prompt, and costs of the reward you want to create. Make sure you don't use a name that is already in use by another reward.
  3. Click on "Create Reward".
  4. You'll be redirected to the rewards page of Twitch where you can edit the reward to your liking.
  5. Go back to Songify settings -> twitch -> rewards and click on "Refresh Rewards". Select your newly created reward in the dropdown menu and click the "+" button next to it to add it to the list.
  6. Go to Song Requests and make sure that "Enable SR (Channel Points)" is enabled. If you want to use the command to do song requests make sure that "Enable SR (Command)" is enabled as well.
  7. If the Twitch chat bot is not connected yet, connect it by clicking on "Connect" in the menu of the main window.
  8. Now Trigger the reward or use the command to do a song request. If everything worked you should see the song in the queue window as well as a response from the bot in the Twitch chat.