''

def _create_new_book(self, fpath, metadata, path, db_added, lb_added, thumb, format):

    from calibre.utils.date import parse_date
    if self.verbose:
        logger().info(('    %s._create_new_book()' % self.__class__.__name__))
    this_book = Book(metadata.title, authors_to_string(metadata.authors))
    this_book.datetime = time.gmtime()
    this_book.cid = None
    this_book.device_collections = []
    this_book.format = format
    this_book.library_id = lb_added
    this_book.path = path
    this_book.thumbnail = thumb
    this_book.iTunes_id = lb_added
    this_book.uuid = metadata.uuid
    if isosx:
        if lb_added:
            this_book.size = self._get_device_book_size(fpath, lb_added.size())
            try:
                this_book.datetime = parse_date(str(lb_added.date_added())).timetuple()
            except:
                pass
        elif db_added:
            this_book.size = self._get_device_book_size(fpath, db_added.size())
            try:
                this_book.datetime = parse_date(str(db_added.date_added())).timetuple()
            except:
                pass
    elif iswindows:
        if lb_added:
            this_book.size = self._get_device_book_size(fpath, lb_added.Size)
            try:
                this_book.datetime = parse_date(str(lb_added.DateAdded)).timetuple()
            except:
                pass
        elif db_added:
            this_book.size = self._get_device_book_size(fpath, db_added.Size)
            try:
                this_book.datetime = parse_date(str(db_added.DateAdded)).timetuple()
            except:
                pass
    return this_book
