Skip to content

manu-pc/troja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

troja

bis Troja brennt!

spotify CLI client

  • play specific song, playlist or album
  • pause or skip song
  • see your spotify stats (most played artist/tracks)
  • create a new playlist, manually adding song or getting automatic recommendations by specifying artists, genres or similar songs :(
  • expand existing playlist with new songs
  • some more stuff!!

uses spotipy 2.24.0 for API stuff

currently only in galician now in english!!

installation
  1. clone the repository:

    git clone https://github.com/manu-pc/troja.git
    cd troja
    
  2. install all dependencies

    • if your python environment is externally managed (ex: ubuntu) you'll need to setup a virtual environment:
    python3 -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
    
setup
  1. get a key to run you'll need to setup a file with a client id, secret id and redirect url, which you can easily get here

  2. create a config.ini file. it should look like:

    [SPOTIPY]
    client_id = your_spotify_client_id
    client_secret = your_spotify_client_secret
    redirect_uri = your_redirect_uri