

@staticmethod
@ffi.callback('void(sp_playlist *playlist, int position, bool seen, void *userdata)')
def track_seen_changed(sp_playlist, index, seen, userdata):
    logger.debug('Playlist track seen changed')
    playlist = Playlist._cached(spotify._session_instance, sp_playlist, add_ref=True)
    sp_playlist.emit(PlaylistEvent.TRACK_SEEN_CHANGED, playlist, int(index), bool(seen))

dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py _PlaylistCallbacks.track_seen_changed/VarMisuse@51/98 `playlist`->`sp_playlist`