![]() |
#1 |
Member
![]() Posts: 21
Karma: 10
Join Date: Sep 2013
Location: Canada
Device: Galaxy Tab 2 10.1, iPad 2
|
Multiple Shared Libraries
Good day everyone, my current Calibre set up is running on a headless Ubuntu machine and my devices connect to the opds over the lan to get books. When I need to add a book to the library, I shut down the server, load up the client on my Windows machine, and then add the book there (which has issues due to the network aspect).
Now I have essentially three libraries of books: eBooks, Comics, Magazines. I'm currently using Mylar and ComicRack for comics, and I'm not using anything for magazines. I'm wondering if it's possible in my setup to share multiple libraries on the network, and if so, is it a good idea to have them separated like that? I probably wouldn't add comics due to the way Calibre deals with folder structures (it'd break Mylar) but magazines would be nice. Any tips/pointers/tricks would be appreciated. PS: I'd also love an easier way to add books/update metadata, Calibre's single user DB is a frustrating constraint. |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
It is not a god idea to use a Windows calibre library on a linux OS. Windows is case-insensitive, as is the db. Linux is case-sensitive and will not be able to find your books. You should be able to reemotely access calibre on the server, though: http://courses.cms.caltech.edu/cs11/misc/xwindows.html
You can run as many instances of Code:
calibre-server --port #### --with-library /path/to/library You could also merge the libraries and separate them via virtual libraries, which can be searched in the server. Last edited by eschwartz; 07-11-2014 at 05:59 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |||
Member
![]() Posts: 21
Karma: 10
Join Date: Sep 2013
Location: Canada
Device: Galaxy Tab 2 10.1, iPad 2
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I use dropbox to sync the library from its home to my server-in-the-sky. On my server, I use monit to detect timestamp changes to the local calibre db. Monit restarts calibre. The restart script copies the db to /tmp to avoid simultaneous access problems and sets calibre's environment variable CALIBRE_OVERRIDE_DATABASE_PATH to tell calibre to use the db in /tmp.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Member
![]() Posts: 21
Karma: 10
Join Date: Sep 2013
Location: Canada
Device: Galaxy Tab 2 10.1, iPad 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
This script is run by monit under the following conditions:
Code:
check process calibre-server with pidfile /var/run/calibre-server.pid start program = "/root/mon/calibre-server.sh start" stop program = "/root/mon/calibre-server.sh stop" alert [elided-email-address] only on { timeout, nonexist } check file metadata.db with path /home/dropbox/Dropbox/[elided]/metadata.db if changed timestamp then exec "/root/mon/calibre-server.sh restart" |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple libraries Multiple Devices | Marianne527 | Library Management | 2 | 12-03-2012 04:04 PM |
Multiple Libraries | gandor62 | Calibre | 42 | 08-01-2012 11:23 AM |
Using Calibre to allow for shared highlights/notes on multiple devices? | iseroma | Calibre | 0 | 06-30-2012 02:31 PM |
Multiple libraries? | netgirl | Calibre | 14 | 11-03-2009 10:13 AM |
Google Books shared libraries? | dhume01 | Reading Recommendations | 0 | 10-25-2009 10:40 PM |