def remove_tracks(self, indexes):
        if isinstance(indexes, int):
            indexes = [indexes]
        indexes = list(set(indexes))  # Remove duplicates
        spotify.Error.maybe_raise(lib.sp_playlist_remove_tracks(
            self._sp_playlist, indexes, len(indexes)))
Remove the tracks at the given ``indexes`` from the playlist.
dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py/Playlist.remove_tracks