

@staticmethod
@ffi.callback('void(sp_playlist *playlist, void *userdata)')
def playlist_renamed(sp_playlist, userdata):
    logger.debug('Playlist renamed')
    playlist = Playlist._cached(spotify._session_instance, sp_playlist, add_ref=True)
    playlist.emit(PlaylistEvent.PLAYLIST_RENAMED, playlist)

dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py _PlaylistCallbacks.playlist_renamed/original