Setting up song requests - songify-rocks/Songify GitHub Wiki
Spotify Setup
To enable song requests, you'll need to authenticate with the Spotify API.
- Visit the Spotify Developer Dashboard, log in, and create a new app.
- 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
. - Once created, click Settings in the top right. Here, you'll find the Client ID and Client Secret.
- In Songify, go to Settings -> Spotify, and paste the Client ID and Client Secret into the appropriate fields.
- Toggle the switch to enable "Use Own AppID".
- Close the settings window, which will prompt you to restart the app (click Yes).
- After restarting, navigate to Settings -> Spotify -> Link to connect your Spotify account.
- If everything is set up correctly, you should see "Linked account: Your Spotify username" along with your profile picture.
Twitch
In order to have song requests working you need to authenticate to the Twitch API.
- Go to settings -> twitch and click on "Log in with Twitch".
- Authorize the Songify app.
- You'll get redirected to a success page.
- 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.
- Go to settings -> twitch -> rewards and click on "Create New Reward".
- 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.
- Click on "Create Reward".
- You'll be redirected to the rewards page of Twitch where you can edit the reward to your liking.
- 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.
- 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.
- If the Twitch chat bot is not connected yet, connect it by clicking on "Connect" in the menu of the main window.
- 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.