Trott / musicroutes-playlist-generator

Create a playlist of songs with common musicians. Like Six Degrees of Kevin Bacon but for music. Sort of.

Home Page:http://musicroutes.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

refactor utils monolith

Trott opened this issue · comments

Stuff seems to fall into a few categories, although there may be some overlap.

  • One genuine utility function
    • promiseUntil()
  • Rendering helpers that should probably ultimately end up inserted via binding in a web component
    • anchorFromMid()
    • trackAnchor()
    • artistAnchors()
    • releaseAnchor()
  • Playlist helpers
    • mergeArtistsAndContributors()
    • pickContributor
  • Video helpers
    • searchForVideoFromTrackDetails()
    • extractVideoId()
    • wrapVideo()