larralapid / disqo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spotify playlist queuer

I'm really weird about how I discover new music. Most of the time, when I am listening to music, I like to maximize the potential of discovering new music and also not get bored and listen to songs I'm familiar with by creating a queue that alternates known tracks and unknown tracks.

Components

  • Spotify API
    • A Spotify developer account is required to use the API.
  • Spotipy
    • A Python library for the Spotify API.
  • Properties you'll need to update
    • username in config.py
    • Playlist IDs
      • Your main queue playlist ID in config.py
      • Your listening list playlist ID in config.py

Before Running the Script

  • Run the script below in the terminal for authentication
export SPOTIPY_CLIENT_ID='your-spotify-client-id'
export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'```
  • update and save config.py with your playlist IDs and username

About


Languages

Language:Python 76.2%Language:Shell 16.1%Language:Jupyter Notebook 7.7%