Create a random playlist with a given duration