First refactor of playlist acquisition