zorael / kameloso

IRC bot with Twitch support
Boost Software License 1.0
9 stars 3 forks source link

Song requests (YouTube and Spotify) #130

Closed zorael closed 2 years ago

zorael commented 2 years ago

This adds a Twitch !songrequest command, with which YouTube videos or Spotify tracks can be added to a playlist the streamer then plays in the background.

The YouTube support isn't perfect, as a video added to the end of the playlist won't be detected if the player already is at the last video in the list. The list is only refreshed when the video advances. Spotify works better.

Captive keygen sessions were added for both Google and Spotify to request access tokens. They can be initiated with --set twitch.{google,spotify}Keygen.