Shouldnt you be using self.playlists instead of just playlists?