Skip to content

quick and dirty application to leverage Spotify DJ's TTS API

License

Notifications You must be signed in to change notification settings

spotlightishere/spotdj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotdj

A quick and dirty application to leverage Spotify DJ's TTS API. In specific, this provides a Discord bot that can be utilized with slash commands.

As of writing, this currently uses a fork of librespot-org/librespot underneath spotlightishere/librespot to correctly leverage Protobuf-related APIs.

Usage

  1. Set the environment variables SPOTIFY_USERNAME and SPOTIFY_PASSWORD to the username and password of your premium Spotify account.
    1. Free accounts are not supported by librespot, and subsequently spotdj cannot support free accounts.
    2. If you sign in to Spotify via Facebook, Apple, etc., you can still reset your account's password. This will not break third-party login.
  2. Set the environment variable DISCORD_TOKEN to the token of a bot you've created via Discord's Developer Portal.
  3. cargo run, and enjoy!
tts.mp4

About

quick and dirty application to leverage Spotify DJ's TTS API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages