Spotify misses a "Smart playlist" feature, so I decided to create it for them using PHP and JavaScript.