This bot helps you listening to your favorite tracks via Spotify through quick and easy conversations which controls your Spotify Player. This bot has been created using Microsoft Bot Framework.
- Visual Studio 2017 15.7 or newer installed.
- .Net Core 2.1 or higher installed.
- Bot Framework Emulator 4.1 or newer installed
- Navigate to Spotify Developer Dashboard
- Sign in to your Spotify Premium account
- Click CREATE A CLIENT ID
- Supply name, description and type
- Accept Spotifys all license agreements to create your non-commercial app
- Once the app is created store your Client ID and Client Secret as they will be used later
- Click Edit Settings
- Supply http://localhost:3979/callback as a Redirect URI, click Add and Save
- Open SpotifyPlayerBot.csproj in Visual Studio.
- Open appSettings.json
- Add your Client ID as "spotifyAppId" and your Client Secret as "spotifyAppSecret"
- Run the project (press
F5
key).
Microsoft Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
- Install the Bot Framework emulator.
- Launch the Bot Framework Emulator.
- File -> Open bot and open SpotifyPlayerBot.bot.
The Spotify Player Bot can control your player via the Control card: Such as play, pause, switching tracks, search and toggling repeat/shuffle. There is also ability to search for tracks and artists.
Spotify Player Bot can handle simple text input such as:
- play
- pause
- next
- previous
- search {artist, track or both}
Please be aware of Spotify Developer Terms of Service if you intend to use any of this work. You can find Spotify Developer Terms of Service here.