Skip to content

Instantly share code, notes, and snippets.

@plamere
Created January 2, 2017 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plamere/70536fa299b760b33bb4c2699d30021f to your computer and use it in GitHub Desktop.
Save plamere/70536fa299b760b33bb4c2699d30021f to your computer and use it in GitHub Desktop.
title_chain.py
$ python title_chain.py goats
1 Goats On A Boat by The Devil Wears Prada
2 Boat To Nowhere by Anoushka Shankar
3 Nowhere Man by Bryce Vine
4 Man Down by Rihanna
5 Down Under by Men At Work
6 Under Cover of Darkness by The Strokes
7 Darkness Between the Fireflies by Mason Jennings
8 Fireflies Made Out Of Dust by Happy Jawbone Family Band
9 Dust & Gold by OKBADLANDS
10 Gold On The Ceiling by The Black Keys
11 Ceiling Unlimited by Rush
12 Unlimited Dark Paths by Sleigh Bells
13 Paths of the Drowned by Derek Duke
14 Drowned By Blood by Sentenced
15 Blood of Bannockburn by Sabaton
16 Bannockburn 1314 by Bill Garden's Scottish Orchestra
17 1314 San Antonio St. by Clay Nightingale
18 St. Justice by Albert Hammond, Jr.
19 Justice In Paris by The Hunchback of Notre Dame Ensemble
20 Paris Song by OH!hello
21 Song For Zula by Phosphorescent
22 Zula Benzetmesi by Baba Zula
$ python title_chain.py inauguration
1 Inauguration Fanfare by South Dakota Symphony Orchestra
2 Fanfare For Rocky by The Rocky Soloists & Orchestra
3 Rocky Road by Stick Figure
4 Road Trippin by Josh Abbott Band
5 Trippin Hard by M.
6 HARD LOVE by NEEDTOBREATHE
7 Love To Lay by The Weeknd
8 Lay A Little Closer by Nico & Vinz
9 Closer Than You Know by Hillsong United
10 Know It All by Rebelution
11 All About That Bass by Meghan Trainor
12 Bass Down Low by DEV
13 Low Rider by War
14 Rider Pt. 2 by G-Unit
15 2 On by Tinashe
16 On Your Side by The Veronicas
17 Side Eye by Rob Scott
18 Eye Of The Beholder by Metallica
19 Beholder Of Justice by Hatebreed
20 Justice In Murder by Coheed and Cambria
21 Murder Rap by Above The Law
22 Rap & Sex by Fabolous
23 Sex Metal Barbie by In This Moment
24 Barbie Hips by KUTOSIS
25 Hips Shaking by Mr President
26 Shaking Hands by B.Miles
27 Hands Off by Jerker Arvidson
28 Off the Wall by Michael Jackson
29 Wall Watcher by Sunflower Bean
30 Watcher Of The Skies by Omnium Gatherum
31 Skies Open by Art of Darkness
32 Open Wide by Calvin Harris
33 Wide Lovely Eyes by Nick Cave & The Bad Seeds
34 Eyes Shut by Years & Years
35 Shut Down by Froogle
36 Down Bitch by YG
37 Bitch Please II by Eminem

Just for fun, I made a spotipy example program that attempts to make a playlist of songs where the first word of a song title matches the last word in the previous song title. The resulting playlist can be a fun tour through a wide range of music styles and themes. Here are some examples:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment