Setting up song requests - songify-rocks/Songify GitHub Wiki
Spotify
In order to have song requests working you need to authenticate to the Spotify API.
- Go to the Spotify Developer Dashboard, log in and create a new app.
- In the create page, type in an App Name (e.g. Songify), and App Description of your liking and as the Redirect URI
http://localhost:4002/auth
- After creation, click on Settings in the top right, there you'll find the Client ID as well as the Client Secret.
- Go to the Songify settings and paste the Client ID and Client Secret into the corresponding fields (Settings -> Spotify).
- Hit the switch so it says "Use Own AppID".
- Close the settings window, this will prompt for a restart of the app (click yes).
- Now go to Settings -> Spotify -> Link to link your Spotify account.
- If everything worked it should say "Linked account: Your Spotify username" and show your user 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.