View Single Post
Old 04-25-2016, 08:16 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by johnelle View Post
Is somebody actually using both the OVERRIDE_PATH and the --with-library successfully on Linux?
Yes, as I noted above, on Debian.

Removing all the cruft that comes with init.d scripts, what runs is approximately
Code:
export CALIBRE_OVERRIDE_DATABASE_PATH=/tmp/metadata.db
CONTENT=path-to-library
cp $CONTENT/metadata.db $CALIBRE_OVERRIDE_DATABASE_PATH
calibre-server --with-library path-to-library -p 9192 --max-opds-ungrouped-items=200 --url-prefix /library
My library comes from a Windows calibre installation. Occasionally I have problems with letter case, but I fix them on the Windows side.
chaley is offline   Reply With Quote