

@staticmethod
@ffi.callback('void(sp_playlist *playlist, bool done, void *userdata)')
def playlist_update_in_progress(sp_playlist, done, userdata):
    logger.debug('Playlist update in progress')
    playlist = Playlist._cached(spotify._session_instance, sp_playlist, add_ref=True)
    playlist.emit(PlaylistEvent.PLAYLIST_UPDATE_IN_PROGRESS, playlist, bool(done))

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