def optOut(self, playback=None, library=None):
params = {}<EOL>if playback is not None:<EOL><INDENT>params['<STR_LIT>'] = int(playback)<EOL><DEDENT>if library is not None:<EOL><INDENT>params['<STR_LIT>'] = int(library)<EOL><DEDENT>url = '<STR_LIT>'<EOL>return self.query(url, method=self._session.put, data=params)<EOL>
Opt in or out of sharing stuff with plex.
            See: https://www.plex.tv/about/privacy-legal/