muCLI is a command line program to play music that uses the youtube and spotify api to play songs along with its lyrics
The application uses both spotify and youtube credentials. You can get spotify client id and client secret by creating a new app on spotify developer console, and the youtube client id and client secret by creating a new GCP project that has youtube api enabled. The credentials need to be stored in a .env file in such manner:
client_secret=<youtube_client_secret>
client_id=<youtube_client_id>
SPOTIPY_CLIENT_ID=<spotify_client_id>
SPOTIPY_CLIENT_SECRET=<spotify_client_secret>
Note: it IS spotipy in the variable names, not spotify, program uses the spotipy library and I copied the variable names straight from the documentation and was too lazy to change them.
pydub
numpy
mpg321
The application uses syrics to get the lyrics, you will need to set it up and can check how to set it up here. As he has mentioned, getting lyrics from spotify maybe against their TOS, this example here is for educational purposes only.