Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2012, 08:19 PM   #1
higlider
Member
higlider began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Mar 2012
Device: Kindle
Smile Multi-user access to Calibre db in cloud

I currently copy my calibre DB to DropBox and run C2O on the DropBox copy. Calibre runs on its own DB not in DropBox. Thus I know my calibre DB can't get corrupted. I suspect that if two users ran Calibre on the same DropBox DB, it could get corrupted and eventually would get corrupted unless there is some provision for preventing simultaneous write access. I doubt DropBox prevents it, it is users beware, just as Google Docs is. I have experienced issues with simultaneous changes to a Google spreadsheet.

I haven't seen warnings about this, and Calibre2Opds documentation suggests just moving your Calibre DB permanently to DropBox, then all you need is another Calibre to access the same DB. So I thought I would raise this issue.

Rather than copy the whole Calibre DB each update to DropBox, I tried just exporting the new books to DropBox and separately copy the metadata.db file. But guesss what? When you run Calibre2Opds and look at your catalog, the new books have default covers, because in the original Calibre book folders, the cover is called "cover.jpg", but in an exported book (multiple folder export), the cover is called "author-book_title.jpg", so the cover can't be found. Maybe a new command under Calibre write to disk could be to Update Cloud Directory and/or in Calibre2Opds.
higlider is offline   Reply With Quote
Old 04-26-2012, 08:31 PM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,095
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
There is an option in Calibre2opds labeled "reprocess ePub" that tries to update the embedded covers in epub files. There is an equivalent functionality within Calibre itself via the Modify ePub plugin. Unfortunately this does not work for other eBook formats.

Note that the cover stored in Calibre is always called cover.jpg regardless of the name of the cover image actually mbedded in any particular eBook format. There is an option in calibre2opds to use these cover.jpg files directly in the calibre2opds catalog - and it is recommended that this is set in DropBox based catalogs to save space (and the option to use the cover.jpg files for thumbnail purposes).

Regarding holding the Calibre metadata.db file under Dropbox you should have found multiple warnings that you must never have two instances of Calibre running simultaneously against the database or updates are liable to be lost.

Last edited by itimpi; 04-26-2012 at 08:38 PM.
itimpi is offline   Reply With Quote
 
Advertisement
Old 12-05-2013, 07:32 AM   #3
BLinz
Junior Member
BLinz doesn't litterBLinz doesn't litter
 
Posts: 4
Karma: 134
Join Date: Dec 2013
Device: Kindle PaperWhite V1
See http://www.mobileread.com/forums/sho...0&postcount=21
BLinz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows multi-user features zzmijarevic Calibre 8 12-07-2012 11:34 AM
Multi ereader user kelsoanim General Discussions 5 01-02-2012 04:34 PM
Second User Cannot Access Library? Neil Devices 0 10-07-2011 05:11 PM
Calibre in the Cloud (VPS) bmsleight Calibre 0 10-10-2010 06:34 PM
Why Vista User Access Control is good in the long run Bob Russell Lounge 1 09-14-2007 04:51 PM


All times are GMT -4. The time now is 10:55 PM.


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