'path and copy_function are ignored by the new API'

def add_format(self, index, fmt, stream, index_is_id=False, path=None, notify=True, replace=True, copy_function=None):

    book_id = (index if index_is_id else self.id(index))
    ret = self.new_api.add_format(book_id, fmt, stream, replace=replace, run_hooks=False, dbapi=self)
    self.notify(u'metadata', [book_id])
    return ret
