Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 11-02-2019, 02:36 PM   #1
kpleines
Junior Member
kpleines began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2019
Device: Android
Starting Calibre-Server with multiple Librarys

Hi,

I've installed an Debian-Server which startes the Calibre-Server headless on Startup using an system service.
It works find. The only Question I have is:

How can I pase multiple calibre librarys from commandline?
I tried:

calibre-server "path to lib1" "path to lib2"

and as an bash array

calibre-server ("path to lib1" "path to lib2")

nothing work.

I would be glad, if someone can help me.

thx
kpleines is offline   Reply With Quote
Old 11-02-2019, 02:43 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,044
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
What do you expect it to do, combine the books from multiple libraries?
jhowell is online now   Reply With Quote
Advert
Old 11-02-2019, 02:56 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Has the CLI server changed from what it was years ago?
Back then, you had to start multiple servers.
Each ONE had a UNIQUE port and Library call out on the command line

(RTFM'd ) If you do not specify any paths, all the libraries that the main calibre program knows about will be used.
Of coarse, this might be a bit hard to setup on a headless system.
You need to do the equivelant of a Switch/Create: Use Existing to get the value into the configuration
theducks is offline   Reply With Quote
Old 11-02-2019, 03:48 PM   #4
kpleines
Junior Member
kpleines began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2019
Device: Android
Multiple Librarys in Calibre Server

Thanks for the first replys. I guess, there are some missunderstandings.

First, if I start Calibre-GUI, create different librarys and then start the internal server, you can choose the used library after login to the web page (see attache).

I want to create this behaviour using the command line by using the calibre-server.
But the calibre-server cli didn't use the multiple librarys from command line.

And sorry, I didn't find this inside the manual.
Attached Thumbnails
Click image for larger version

Name:	CalibreMultipleLibrarys.PNG
Views:	232
Size:	21.2 KB
ID:	174683  
kpleines is offline   Reply With Quote
Old 11-02-2019, 04:10 PM   #5
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,044
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
The calibre-server command is documented here. You can specify a single library to use. If you do not specify a library then it will allow selection between all the libraries known by the GUI interface.
jhowell is online now   Reply With Quote
Advert
Old 11-02-2019, 05:53 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
In other words: Do NOT specify the Library, then it will use all (just like the GUI)

This does assume you are running on the same system, so the config file is present that has the paths to those already discovered.
theducks is offline   Reply With Quote
Old 11-08-2019, 01:59 AM   #7
kpleines
Junior Member
kpleines began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2019
Device: Android
Works find. Thanks for th help.
kpleines is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem starting calibre-server automatically at system startup (Mac) paul55391 Related Tools 19 08-21-2023 11:08 PM
calibre-server not starting BoundforPNG Library Management 0 09-30-2016 02:31 AM
Calibre Content Server in El Capitan not starting OK perezbalen Devices 2 07-18-2016 02:16 PM
Multiple libraries on Calibre server? omf Library Management 4 02-15-2014 05:59 PM
Calibre server not starting john_es Library Management 0 02-02-2013 06:16 AM


All times are GMT -4. The time now is 09:56 AM.


MobileRead.com is a privately owned, operated and funded community.