def set_offline_mode(self, offline=True):
        spotify.Error.maybe_raise(lib.sp_playlist_set_offline_mode(
            self._session._sp_session, self._sp_playlist, int(offline)))
Mark the playlist to be synchronized for offline playback.
dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py/Playlist.set_offline_mode