def rename(self, new_name):
        spotify.Error.maybe_raise(
            lib.sp_playlist_rename(self._sp_playlist, utils.to_char(new_name)))
Rename the playlist.
dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py/Playlist.rename