Calibre-web: Multiple libraries?

Created on 4 Jun 2019  路  9Comments  路  Source: janeczku/calibre-web

Hi

Is it possible to use multiple Calibre libraries with this?

question

Most helpful comment

I understand that it would be nice to have multiple libraries supported in calibre-web, but this would boost complexity of the project.
All features which are outside calibre db like shelf-database, download-database and so on have to modified for this, so decided the first time when it came on the table not to implement it. It's a matter of time and more imported a matter of testing and supporting it after implementation.

All 9 comments

Perhaps https://github.com/janeczku/calibre-web/wiki/FAQ#why-dont-you-support-calibres-virtual-libs is what you're looking for? Are the shelves feature not fitting your use case currently?

Hi

I have many separate Calibre libraries (naturally with their own individual metadata.db), not sure how I can combine them in a shelf.

I extended the wiki (the headline already was there):
https://github.com/janeczku/calibre-web/wiki/FAQ#how-to-handle-multiple-calibre-libs
This should hopefully answer your question.

Thanks, not an idea solution but at least it is there. Any recommendation for Docker use?

I'm sorry I have no clue about this docker stuff.
The repros are maintained by other guys, please ask for help at the provider of the docker image.

You just need to spawn different docker containers based on the same image. Each container will get it's own library by using environmental variables pointing to the correct library. Downside of this (and the mentioned approach above) is, that you'll have different calibre-web instances on different ports and not one webUI for all libraries.
But tbh I'm not sure if that's what the idea behind this request is. IMHO it would be nicer to be able to configure calibre-web to read multiple libraries and switch between them within the instance on the webinterface. But that has nothing to do with docker :)

I understand that it would be nice to have multiple libraries supported in calibre-web, but this would boost complexity of the project.
All features which are outside calibre db like shelf-database, download-database and so on have to modified for this, so decided the first time when it came on the table not to implement it. It's a matter of time and more imported a matter of testing and supporting it after implementation.

Thanks for the follow up guys, I will see how it goes with docker. I have like 20 libraries, so it is going to be a bit more complicated than anticipated I guess.

Sorry for asnwering in this close issue, but it would be great to be able to manage multiple calibre databases from the same calibre-web installation.

I have a private personal library and another library that share with other members of my family.

I have installed calibre-web in may qnap NAS. It works great.
But having to have two separate docker installs is not an ideal solution.
It consumes more memry and resources, and you have to remember two different ports (just enough to remember one) and get a more complex installation.

It would be great if you could configure more than one library path and just an initial interface that lets you select which library you wan to activate.

Calibre let you have more that one library database, but you work just on one database at a time.
You have to switch selected database.

May be that approach is easier to implement in calibre-web too.

Anyway thanks for the effort and this great solution.

Was this page helpful?
0 / 5 - 0 ratings