Startet rewriting media_player and playlist to decrease code complexity.