Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-17-2016, 11:17 PM   #1
eskwayrd
Junior Member
eskwayrd began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2016
Location: Canada
Device: iPad
Question Calibre Library Management Whitepaper?

I've searched and read many discussions, but I haven't found a single, concise reference for why Calibre maintains its ebook library content the way it does. Specifically, why Calibre feels the need to make/maintain the author/title/ebook directory structure.

I have found plenty of discussions that suggest "Calibre knows how to organize ebooks better than you", none of which provide any evidence to back up that kind of claim.

I've skimmed through the Calibre source, and the directory structure assumptions appear in many places, so I can see that it would be some effort to effect any change in the approach.

Thanks for any pointers!
eskwayrd is offline   Reply With Quote
Old 10-18-2016, 01:39 AM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
How about Want to change folder structure or file names in the Calibre library?

And my take has always been that it is a lot easier for calibre to do it this way.
davidfor is offline   Reply With Quote
Advert
Old 10-19-2016, 09:13 PM   #3
eskwayrd
Junior Member
eskwayrd began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2016
Location: Canada
Device: iPad
Quote:
Originally Posted by davidfor View Post
I had seen that before. It provides a workaround, which is not very tenable when you have tens of thousands of ebooks, and effectively says that discussing the design philosophies is off the table.

The FAQ claims "By managing books in its own directory structure of Author -> Title -> Book files, calibre is able to achieve a high level of reliability and standardization."

The questions I have are:

* What reliability improvements have been achieved?
* How were those measured?
* What standardization is Calibre attempting to meet?

Without know the answers to those questions, it is hard to determine whether Calibre is undertaking too much work during certain kinds of metadata updates. It certainly feels slower than I'd expect.

For example, renaming an author often takes 8-12 seconds to complete per ebook. I store my photos on the same volume, and updating an IPTC field with LightRoom takes less than a second.

Quote:
Originally Posted by davidfor View Post
And my take has always been that it is a lot easier for calibre to do it this way.
I don't disagree; a GUI for bulk management is easier. Even for single entry updates, the Calibre GUI is much easier than unpacking an ebook's contents, making the desired change, and repacking the ebook.

It's the directory management effort that I'm unsure about.
eskwayrd is offline   Reply With Quote
Old 10-19-2016, 09:47 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by eskwayrd View Post
I had seen that before. It provides a workaround, which is not very tenable when you have tens of thousands of ebooks, and effectively says that discussing the design philosophies is off the table.
Yes, it is probably off the table. At least until someone comes along who:
- Can demonstrate they have made more than a cursory read of the previous discussions.
- Offers a good reason to change.
- Offers the resources to do it.

Personally, I haven't seen anyone come up with anything that comes close to a good reason. Are you offering the last?
Quote:
The FAQ claims "By managing books in its own directory structure of Author -> Title -> Book files, calibre is able to achieve a high level of reliability and standardization."

The questions I have are:

* What reliability improvements have been achieved?
The less code you have, the more likely it is to be reliable. Having to add code to handle multiple directory structures increases the complexity and hence increases the likelihood of a problem.

And if the books are in locations that calibre doesn't control, it is far more likely something will get deleted or moved and the linkage to the books is lost. And we have more code to manage this.
Quote:
* How were those measured?
* What standardization is Calibre attempting to meet?
Using a consistent standard across multiple OSes and installations means that moving from one to another is easy. Plus support is easy - "Look in X" rather than "work out what X is then look there".
Quote:
Without know the answers to those questions, it is hard to determine whether Calibre is undertaking too much work during certain kinds of metadata updates. It certainly feels slower than I'd expect.

For example, renaming an author often takes 8-12 seconds to complete per ebook. I store my photos on the same volume, and updating an IPTC field with LightRoom takes less than a second.
I can't comment on performance because I don't really notice it. Whether that is because my library is small enough not to cause problems or the PC fast enough, I don't know. It just works and I don't have to wait to long (except when I am in a hurry and then it is always to long).
Quote:
I don't disagree; a GUI for bulk management is easier. Even for single entry updates, the Calibre GUI is much easier than unpacking an ebook's contents, making the desired change, and repacking the ebook.

It's the directory management effort that I'm unsure about.
That wasn't my point. By using a single known naming standard for the file structure, I am sure it makes the code in calibre a lot simpler. That's for the book management. The editor or viewer accepts a path to the book and opens it.

From my point of view, once I accepted that using a GUI for the book management was better, I completely forgot about the file structure. As far as I'm concerned, it is a database managed by the application. I went through this for my music. I had a complicated structure, then started using MediaMonkey. That does allow "inplace" adding, but it is much easier for me to let if collect the media files and organise it how it wants to.
davidfor is offline   Reply With Quote
Old 10-19-2016, 10:12 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,836
Karma: 27620684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice
I moved this out of the Development subforum. To understand why, see the sticky thread PLEASE READ BEFORE POSTING - Purpose of Development subforum at the top of that subforum.

Quote:
...not the place to reopen fundamental calibre design decisions, in particular the calibre library file system...
BR
BetterRed is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
App for management of Calibre library for iPhone Leo78256 Apple Devices 5 07-23-2016 08:44 AM
Library Management Problem with Calibre DibasD Library Management 5 04-27-2016 05:07 PM
Calibre's Library Management redux dempsey Library Management 0 12-05-2013 02:34 AM
Calibre library management for newbies renzii Library Management 4 02-08-2012 06:54 AM
Calibre for library+ebrary management Arche Library Management 6 11-27-2011 03:23 PM


All times are GMT -4. The time now is 01:02 AM.


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