build playlist array