

@staticmethod
@ffi.callback('void(sp_playlist *playlist, int position, sp_user *user, int when, void *userdata)')
def track_created_changed(sp_playlist, index, sp_user, when, userdata):
    logger.debug('Playlist track created changed')
    playlist = Playlist._cached(spotify._session_instance, sp_playlist, add_ref=True)
    user = spotify.User(spotify._session_instance, sp_user=sp_user, add_ref=True)
    playlist.emit(PlaylistEvent.TRACK_CREATED_CHANGED, when, int(index), user, int(when))

dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py _PlaylistCallbacks.track_created_changed/VarMisuse@80/152 `playlist`->`when`