Skip to content

Files

Latest commit

61ce7b7 · Feb 2, 2017

History

History
24 lines (15 loc) · 956 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 956 Bytes

KEX.Py

The Seattle radio station KEXP (90.3) limits the availability of archived programs, making it difficult to meaninfully "binge" on them. Playlists remain available, though, and much of the music can be found on Spotify. Use KEX.Py to publish Spotify playlists based on past KEXP programming.

Installation and Setup

$ git clone https://github.com/28mm/KEX.Py.git
$ cd KEX.Py
$ pip3 install -r requirements.txt

Obtain a Spotify client ID and secret from https://developer.spotify.com/my-applications/ -- Use this information to set the corresponding environment variables in spotipy-env.sh

Running KEX.Py

The KEXP program Shake the Shack airs every Friday between six and nine PM. To build a playlist entitled "Shake the Shack" from the December 30th KEXP playlist, run the following:

$ source spotipy-env.sh
$ ./KEX.Py --username <your-username> --playlist "Shake the Shack" --mdyh "12/30/2016T18" --hours 3