12-05-2011, 11:14 AM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: kindle
|
Calibre Client Server Architecture
I'm trying to figure out if there is a method to use calibre as a client and server. Let me give you an example:
I have a large ebook library that I have installed with Calibre on a centralized server in my home. What I would like to do is open up Calibre on my laptop and browse the books on the centralized and import them into the library on my laptop. I do know I can use the web page portion of the server to do this, but then I have to browse, download, import. I'm trying to get away from using the import process and using this method for all my computers in the house. Ebooks seem to be one of the last steps to centralizing my media in this method. For audio I do this with itunes. For videos I use XBMC with a centralized SQL server. I'm really hoping there is something like this I can do for ebooks. If this can't be done - what are some other ODS clients (other than stanza) that may work for me? |
12-06-2011, 07:00 AM | #2 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Someone will be along eventually who really knows what they are talking about, but here is what I understand. Calibre is not designed to be networked. Work is proceeding along those lines, but is not there yet. There are definite issues with accessing the database with different operating systems which do or do not consider capitals in file names significant. Fiddling around with the calibre database and its files outside of calibre is all but guaranteed to cause corruption because the program was not designed to create a standalone database. You might be able to organize files with calibre and export the results and use the results saved separately any way you wish.
Wish I could help you with the rest, but that is as far as my understanding runs. |
Advert | |
|
12-06-2011, 08:52 AM | #3 | |
Micha
Posts: 37
Karma: 3144
Join Date: Dec 2011
Location: London, UK
Device: Kobo Glo
|
Quote:
Fire up Calibre on your laptop, create a new Library on the laptop if you haven't got one already, then open the existing Library on your server. You can now highlight one or more books, and send them to the Library on your laptop via a right-click. There are two things to be careful about:
I do this all the time While I do hope that Calibre will eventually have proper client-server support, this shared access to a central Library works ok. Cheers, - Micha. |
|
12-06-2011, 09:40 AM | #4 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Calibre is a hybrid of a DB and a file system. IIRC that was done that way for performance reasons. The DB application places and keeps track of the file(s) associated with the metadata record. Currently, this is a User application and there is nothing to ensure that only one user affects the file system portion. ex. User 2 changes the author name spelling just as User 1 is adding a new title file to that author |
|
12-06-2011, 10:54 AM | #5 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: kindle
|
I don't really want to share the database. I guess to put it simply - I want to run one main calibre server - I would like to have other installations act as ODS clients. I don't want my laptop to have every book in the main server - but I would like to use an interface that can browse the server and import books automatically.
With the stanza reader client you can do this, I would just like similar functionality to be an ODS client in calibre. It would also give the flexibility to browse an import books from at least all the sources that Stanza can. |
Advert | |
|
12-06-2011, 10:59 AM | #6 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: kindle
|
Quote:
The MySQL suggestions through the threads that people are wanting isn't a completely bad idea - but it would take much work to port it properly to MySQL than it would be program an ODS client (ok to be fair that's a guess). |
|
12-06-2011, 12:15 PM | #7 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
First, I believe what you're wanting is an OPDS client and not ODS. Second, the EPUBReader add-on for Firefox does support OPDS catalog feeds. Useful if you just want to read books on your PC/laptop. If you actually need to copy the books to calibre for sending to device, etc, not so much.
I believe it's been mentioned before that there are plans to include server/client set-up for calibre but I wouldn't expect to see that anytime soon. Last edited by ilovejedd; 12-06-2011 at 12:31 PM. |
12-06-2011, 12:52 PM | #8 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: kindle
|
Quote:
Calibre gives you the freedom to read books in whatever format you like. If you don't like a format you can change it to a different one. If you don't like the metadate from one source you can choose a different one. If you don't like standard RSS readers you can change them into a ebook and use them however you would like. If you want to transfer books to your device you can use a multiple of methods including email, mounted drive, or direct device interfacing. If you don't want to use a separate ereader you can use the built in ereader. From my perspective having the software only act as a server and not as a client is just about the only function where you need a third party software either in the form of a web browser or reader that can attach to an ODS server. So for that function choice is taken away from me. It also makes taking what I want with me where a pain. In our household there is a server, 2 windows desktops, 2 mac laptops, 6 iOS devices, and 2 kindles. Depending on which device I'm on is going to reflect which books I want with me at any given time. For any media other than ebooks I already have good solutions for making things work between all devices. I am however glad it is on the roadmap, and I wish I was a programmer to help get it done. It is just annoying to have to attach to a calibre server via web browser and download the book. Then turn around an import it into Calibre again. |
|
12-06-2011, 01:12 PM | #9 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
You do not have to load the book into Calibre if you simply want to read it. The Calibre viewer can be used as a free-standing reader. However there are lots of alternative iewers around.
|
12-06-2011, 01:28 PM | #10 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: kindle
|
Quote:
I understand that - my problem is not the viewer. If I wanted to remove calibre from the equation - after any conversion and metadata was done I would just write the books to a directory structure and then use them on a remote device. But once I've done that on a file server - then there isn't much use to calibre at all if I have find alternative ways for file storage on each and every device I own. I look at calibre like itunes - a simple interface to manage a multitude of formats. I also have itunes installed on my server, my two desktops, and my two laptops. So I can share and copy music however I want - while maintaining a master library on my server. I already understand the work arounds (and live with them) - since I have been using calibre for a couple years now. I wasn't aware it couldn't be used as a client and thought I was missing something. I still stand by the fact that an opds client is what stands in teh way of it being feature complete. The only other thing I could think of to add is a store interface. |
|
12-06-2011, 01:42 PM | #11 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
I don't think calibre needs an OPDS client for what you want to accomplish. There are other methods for implementing a server/client set-up. Best is probably to take a similar route to XBMC (admittedly, I'm not sure how XBMC is set-up exactly as I use WMC+Media Browser). For ebooks, though, I'd probably prefer something similar to iTunes Home Sharing. Last edited by ilovejedd; 12-06-2011 at 01:55 PM. |
|
12-06-2011, 03:21 PM | #12 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: kindle
|
The XBMC method I can explain away. There are a few ways you can chain XBMC setups. The first is you have a server and from there other XBMC instances can access the libraries via UPNP. I was using this method for a while. I moved over to using a MySQL database where all the XBMC instances share the same library.
The only real advantage I have with using MySQL (in what actually works for me) is that I only have to scrape the media once and then it is available to all my machines. For Calibre something like itunes home sharing would be perfect. |
04-25-2012, 12:40 AM | #13 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2012
Device: Kindle
|
Quote:
Beyond being able to share your same database information and cover/content files, MySQL offers much greater speed when working with a large number of entries. We're talking an order of magnitude faster. There is just no practical way to design an embedded relational database like SQLite to have the performance of a dedicated relational database when you're dealing with a lot of data. My ideal would be to have a central file store with a MySQL database that all of my families computers could access. And when they want to be on the go with a particular book, copy the book to their local library. That way their local libraries are small (and so fast), while the main library is large but still fast because of the full database system. |
|
04-25-2012, 10:22 AM | #14 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: kindle
|
I'm just curious if anyone is even looking at coding this. I think the focus is on the client side.
|
05-09-2012, 10:09 PM | #15 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2012
Device: desktop
|
I'm with creeva
I know where you're coming from, feel much the same way. Except I don't think XBMC is the exactly paradigm we want this to head towards...we want it to be more like Plex.
I'm a former XBMC user, now converted. Plex is very similar, I think both share same origins. But Plex is true client server. It has small server component, web-based library management, and full-featured native clients for your myriad playback devices. Brand new clients can instantly access/use the entire library--the shared metadata is already there. Ideally calibre could work in similar fashion to Plex. Instead of offering a web-based client (which is what we have now with the calibre server), better would be full-featured native clients, with web-based library management. I think the ratio of time one spends reading vs. managing the library supports such a split? One requirement that's different for ebooks than video (Plex) is, I think, ready ability to make and manage local content copies on the client...for use when disconnected. I am not familiar with iTunes, don't know if it has this ability? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 07:26 AM |
Calibre-server port not open issue on Fedora server | stueyboy | Devices | 0 | 08-17-2011 04:57 PM |
Architecture blocking opening calibre | SarahRG | Calibre | 2 | 01-30-2011 06:23 PM |
calibre server and client synch? | machstem | Calibre | 12 | 09-15-2010 06:27 PM |
VPN Client and Windows 2003 Server | FGH | enTourage Archive | 2 | 04-02-2010 02:57 PM |