code use to get playlist