05-30-2010, 08:08 PM | #1 |
Member
Posts: 17
Karma: 10
Join Date: May 2010
Device: none
|
Flexible internal file structure and a Usability question
It looks like that one of the changes made in the past few months has been the construction of an abstraction layer that allows deviation from the "set" internal file structure in Calibre.
Question: if we can denote the storage structure as something like: {author_sort}/{title}/{title} - {authors} is there any reason we cannot also allow people to specify the input format similarly (ala media monkey) when adding files? This would be a lot more user friendly than asking the average bibliophile to write regex expressions. I also (think) I read in a thread that the DB only holds the metadata for .txt files. Is this true??? thanks -glenn |
05-30-2010, 08:23 PM | #2 |
creator of calibre
Posts: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No you cannot change the internal file structure
Fell free to request a feature to allow placeholder based filename parsing No it's not true |
Advert | |
|
05-30-2010, 08:35 PM | #3 | |
Well trained by Cats
Posts: 30,444
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Who would unravel the changes needed to be applied after every update. (Hint: Not Kovid) Kovid may have made an error, leaving any reference to the author or title in the file structure. Use of non-intelligent "Calibre Keys" for file names on the library manager would eliminate all these "problems" by requiring the intended use of the UI to transfer or read a filed book. |
|
05-31-2010, 01:32 PM | #4 |
Member
Posts: 17
Karma: 10
Join Date: May 2010
Device: none
|
Kovid --My mistake, and I know that this was a sensitive issue in the past so not trying to raise this issue again. But I did copy that code from the app and was surprised and thought if the code was already written for one interface it wouldn't take much to add it to another.
theducks -- This is exactly how it works in media monkey -- you can store all your music files using any file naming convention you like. Which means that your backups and restores (especially in case of a DB failure) are much easier as you can include all important metadata in the file names for re-importation. And a flexible naming convention allows MM to play nicer with other apps. Great app guys. -glenn |
05-31-2010, 05:50 PM | #5 | |
Grand Sorcerer
Posts: 12,029
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
One difference between audio files and ebooks is that all of the audio file formats of interest can (and do) store all metadata of interest within the file. When you change the metadata for a file in MediaMonkey, you change the music file, not the library. Ebooks do not, and in some cases cannot, store all metadata (consider txt files). This fact means that although MediaMonkey (which I use) can recreate the library from the files no matter where the files are stored, calibre cannot. Because of this inconvenience, calibre must separate the metadata from the files, then choose some method to store the book files and stick to it. If it did not do this, then it would be incapable of presenting a unified user interface, and (perhaps more interestingly) knowing whether a given book format is in fact a copy of the given book. If we could guarantee that all books were in a format that could store arbitrary metadata, then could guarantee that the metadata in the file followed the standards, then could guarantee that the metadata was complete, then we could avoid the fixed-path storage. Unfortunately, none of these three guarantees exist. |
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
File Structure Question | Tiburon | Calibre | 2 | 01-11-2010 10:21 PM |
file structure after Calibre upgrade | daesdaemar | Calibre | 1 | 11-27-2008 03:01 PM |
Why no user file structure? | MoSo | Amazon Kindle | 4 | 04-14-2008 09:17 AM |
Question about the File structure | bbusybookworm | Amazon Kindle | 3 | 11-23-2007 07:45 PM |
Flat file structure...ugh! | BobVA | Sony Reader | 7 | 11-03-2006 02:05 AM |