I'm not sure what you are asking. If you mean you want calibre to download metadata for books in a library serverd using calibre-server, then the way to do it is by combining calibredb and fetch-ebook-metadata. Read the manual pages for both those tools.
|