def name(self): """The playlist's name. Assigning to :attr:`name` will rename the playlist. Will always return :class:`None` if the playlist isn't loaded. """ name = utils.to_unicode(lib.sp_playlist_name(self._sp_playlist)) return name if name else None