Based on tutorial from http://pypix.com/python/create-simple-music-streaming-app-flask/