Renames media file to formatted name.

        After parsing data from initial media filename and searching
        for additional data to using a data service, a formatted
        filename will be generated and the media file will be renamed
        to the generated name and optionally relocated.

def rename(self):
        """Renames media file to formatted name.

        After parsing data from initial media filename and searching
        for additional data to using a data service, a formatted
        filename will be generated and the media file will be renamed
        to the generated name and optionally relocated.
        """
        renamer.execute(self.original, self.out_location)
        if cfg.CONF.move_files_enabled:
            LOG.debug('relocated: %s', self)
        else:
            LOG.debug('renamed: %s', self)