def download(self, savepath=None, keep_original_name=False, **kwargs):
filepaths = []<EOL>locations = [i for i in self.iterParts() if i]<EOL>for location in locations:<EOL><INDENT>filename = location.file<EOL>if keep_original_name is False:<EOL><INDENT>filename = '<STR_LIT>' % (self._prettyfilename(), location.container)<EOL><DEDENT>if kwargs:<EOL><INDENT>download_url = self.getStreamURL(**kwargs)<EOL><DEDENT>else:<EOL><INDENT>download_url = self._server.url('<STR_LIT>' % location.key)<EOL><DEDENT>filepath = utils.download(download_url, self._server._token, filename=filename,<EOL>savepath=savepath, session=self._server._session)<EOL>if filepath:<EOL><INDENT>filepaths.append(filepath)<EOL><DEDENT><DEDENT>return filepaths<EOL>
Downloads this items media to the specified location. Returns a list of
            filepaths that have been saved to disk.

            Parameters:
                savepath (str): Title of the track to return.
                keep_original_name (bool): Set True to keep the original filename as stored in
                    the Plex server. False will create a new filename with the format
                    "<Artist> - <Album> <Track>".
                kwargs (dict): If specified, a :func:`~plexapi.audio.Track.getStreamURL()` will
                    be returned and the additional arguments passed in will be sent to that
                    function. If kwargs is not specified, the media items will be downloaded
                    and saved to disk.