News for hackers. Stuff that matters.
Re:The Calibre Content Server by StavrosK on Friday June 16, 2017 @09:05AM (#14568485)
Can't you just put your library and database on git or Dropbox? It should just work, unless you're accessing them from two devices at the same time.
Re:The Calibre Content Server by jpindar on Friday June 16, 2017 @09:34AM (#14568757)
I do, with Dropbox, and it mostly works... but it's very easy to get the database corrupted even if you are careful not to have more than one instance of Calibre open.

I haven't tried using a source control system, that might work better. Hmmm.

And of course that only works for computers, There isn't a full version of Calibre for Android.

Re:The Calibre Content Server by the_af on Friday June 16, 2017 @09:47AM (#14568889)
Out of curiosity, how does your DB on Dropbox get corrupted if not by having more than one instance of Calibre open?

I'm asking because I use Dropbox to store my Keepass DB, and so far (2+ years) I haven't had any problems.

Re:The Calibre Content Server by jpindar on Friday June 16, 2017 @09:56AM (#14568977)
I don't know. But I occasionally find files with names like foo(username's conflicted copy).db.

I do the Keepass thing too, and this has happened with it's files as well, but that doesn't seem to cause any problems.

Re:The Calibre Content Server by StavrosK on Friday June 16, 2017 @12:10PM (#14570158)
Those aren't corrupted databases, it just can't merge so it leaves you to pick the version you want. Just pick one and keep using it, at most you'll lose some recent changes from the other computer.
Re:The Calibre Content Server by jpindar on Friday June 16, 2017 @06:49PM (#14573157)
I should have known not to use language imprecisely on HN. :)

To the layman, any situation that results in having Calibre show books which are not in fact there, or having books in the library which are not shown in Calibre, or having Calibre's check library function report that there are "invalid titles", "missing formats" etc., could be casually described as "corruption".

Re:The Calibre Content Server by StavrosK on Saturday June 17, 2017 @06:57AM (#14575284)
Sure, but the worst case is that you don't see books which are in your filesystem, and then all you need to do to fix that is click "Add books".
Re:The Calibre Content Server by michaelmrose on Friday June 16, 2017 @04:20PM (#14572348)
There is calibre companion an app that lets you sync all or part of your library. To sync you would merely connect wirelessly and then search for ondevice:false and send those to the device.
Re:The Calibre Content Server by StevePerkins on Friday June 16, 2017 @09:12AM (#14568542)
Exactly. The problem is that you lose searchability. On the filesystem, Calibre organizes your library in a series of subdirectories named by author. If you want to find a book by title, or some other criteria... or even when it's a book with multiple co-authors and don't know which one Calibre selected as the primary... then you'll have a bad time.
Re:The Calibre Content Server by anc84 on Friday June 16, 2017 @09:26AM (#14568672)
Don't people learn how to use their OS's file searching capabilities anymore?
Re:The Calibre Content Server by de8ger on Friday June 16, 2017 @10:09AM (#14569096)
I do with Dropbox too, along with a portable version of Calibre. For syncing to my andoid phone, I use [Calibre Companion](https://play.google.com/store/apps/details?id=com.multipie.c...).
Re:The Calibre Content Server by r3bl on Friday June 16, 2017 @09:10AM (#14568526)
Yup, that's exactly what I do. I sync over the database and library over to Nextcloud to have it available on both of the operating systems I'm using.

It's also synced automatically to an external hard drive connected to the Raspberry Pi, so I have two backups (one online, one offline) in case something goes wrong.

Re:The Calibre Content Server by izacus on Friday June 16, 2017 @09:46AM (#14568875)
Wouldn't that trigger copyright defender algorithms and cause your Dropbox account to be suspended?
Re:The Calibre Content Server by MikeTV on Friday June 16, 2017 @11:05AM (#14569621)
AFAIK they only run the DMCA checksum when the file/folder is shared. Keeping it inside your own account is OK.