Welcome to ScryptTunes! This application allows you to control your Spotify playlist through Twitch chat commands. This guide will walk you through the installation and setup process, step-by-step.
NOTE: This bot requires Spotify Premium. This is a Spotify API reqirement and there's nothing I can do about it
- Channel points redeem is broken, working on a fix. I will disable it in the next release. Don't use it, just doesnt work at all!
- Go to the latest release page here: ScrypTunes Latest Release
- Download
ScryptTunesInstaller.exeand run it - ScryptTunes will now show up in your start menu and as a desktop shortcut
- Open ScryptTunes and click the "General Settings" button.
- Fill in the following fields:
- Nickname: Name of bot account.
- If you don't use a separate twitch account for your bot, just put your channel name here.
- (Optional) Prefix: Enter the command indicator for Twitch chat (e.g.,
!). - Channel: Channel to listen for commands from. (Very likely to be your twitch channel name)
- Token: See workaround for now. Working on a better solution
- Nickname: Name of bot account.
-
Visit the Spotify Developer Dashboard.
-
Click "Create an App" and fill in the necessary details. a. The only important one to get is to fill the "redirect uri" as
http://127.0.0.1:8080WITHOUT A SLASH AT THE END -
Once the app is created, click settings.
-
You'll see a "Client ID" and "Client Secret". Enter these in the Settings view of ScryptTunes.
- Visit the Twitch Developer Console.
- Click "Applications" >> "Register Your Application" and fill in the necessary details.
- Click on "Manage" for your app
- You'll see a "Client ID" and "Client Secret". Enter these in the Settings view as well.
- Setting everything allowed is how I use it. There's nothing here that isn't okay for regular chatters to access, but I've given you the choice to switch them off for certain roles if needed!
Note: This is white-list based. If a chatter has ANY of these roles, the command is allowed. For example, if you disable VIP, but have "Unsubbed" still enabled, your VIP's will still be able to use the command. (will improve this but its low priority)
- Start playing music on Spotify
- Click "Start" on the main page to start the bot
- If you need help with commands see the Commands Guide
This is a temporary workaround until I implement a built-in solution for oauth. You may use this if you like but it's not the recommended solution as it exposes your chat token to a third party.
(Unlikely to be a problem, as this is the same thing as connecting your twitch to any other app, but still less safe nonetheless and not the indtended purpose)
- Go to Twitch Token Generator and select "Bot Chat Token"
- Ensure you're signing in with the account you want sending bot messages into your stream
- Get the access token and add "oauth:" to the beginning of it like this:
oauth:jd9rtifin45jgfijh45bfkc9kl3l84d - Paste it into the "Token" field of your "General Settings"
- Originally forked from this project, has grown to have many more features, fixes, etc, but mattDonk deserves credit for the starting point.
You can just run main.py, or build locally if necessary. Feel free to ask questions in DMs on my Twitter or Discord -- there's no such thing as a dumb question, happy to help 💙
python -m nuitka --standalone --enable-plugin=tk-inter --include-data-file=icon.ico=icon.ico --output-dir="build" --output-filename="ScryptTunes.exe" .\main.py
makensis installer.nsi




