01-14-2009, 03:44 AM | #1 |
Palm Addict
Posts: 477
Karma: 1001951
Join Date: Aug 2008
Device: Cybook Gen3 [512mb, FW: 1.5]
|
Calibre: ebooks-filenames
I installed and played around with calibre a bit and I really like it!
There is one thing though that prevents me from using it for my collection and I hope its resolvable. I have sorted my ebooks in a similar way that calibre does - author names as folders with the ebooks in it; I also have my ebooks named "author - title.xxx". Sadly Calibre does not accept my filenamestructure but instead copies all the files into it's own structure and renames the files to "title - author.xxx". Is there a way to chose a different output format? I'm well aware it sounds petty, but I have spend so many hours getting all my ebooks named and ordered I would love to keep the names the way I chose. Is it possible? And if not - could it be in the future? |
01-14-2009, 05:17 AM | #2 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
The Calibre naming convention is not amenable to change. The way is stores books is built into the guts of the programs and thus not easy to change.
It is a good idea to think of the Calibre set of files as its own internal database - and in earlier releases of Calibre it really was physically a database rather than a file structure but that grew rather large as book collections grew. Kovid has said it may change in the future - but certainly not in the near future. |
Advert | |
|
01-14-2009, 05:50 AM | #3 |
Addict
Posts: 250
Karma: 1232346
Join Date: Jul 2006
Location: Macau
Device: Kindle Oasis (plus lots of older devices)
|
What a coincidence. I came on to look for a solution to this and found someone today had the same question.
I am still somewhat old-fashioned and I prefer to use a file manager for quick and easy sorting of files. I can see at a glance what I have and with a useful filename, the files can be used for a long time with minimal difficulty. I finished tagging and renaming a large amount of files and when I looked at them in the file manager, the naming convention of title and first and last name of the author is not very useful. The ideal would be last name, first name - title with an option to put in the series number. (last name, first name - series - title). A handy option would be to have the option to output the converted file with the filename as a variable. I am thinking of mediamonkey, the mp3 library program that gives the option to rename a file based on the metatags of the mp3. Does calibre use the metatags of the file for sorting or does it use the filename only? If I rename the files myself, will calibre still find them properly? |
01-14-2009, 07:07 AM | #4 | ||
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
Quote:
|
||
01-14-2009, 08:04 AM | #5 |
Palm Addict
Posts: 477
Karma: 1001951
Join Date: Aug 2008
Device: Cybook Gen3 [512mb, FW: 1.5]
|
As filenames are used as a "database" I assume that at some point the values "author" and "title" are read from this "database".
Would it not be possible to define if the names are stored as "title - author" or "author - title", they are in both cases seperated by a "-" (only one time the last, the second time the first occurance) It does not really matter if this definition is not changeable anymore once the first book was imported (saves you the hassle to rename all books once the definition is changed, but it would help a lot if we could chose the format. |
Advert | |
|
01-14-2009, 08:30 AM | #6 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
No - the author/title are not normally taken from the book title, but from the metadata stored inside the book. They are only taken from the filename for formats that do not support metadata (e.g. text files), and this occurs at the time they are imported and the results are stored in metadata.db. After that Calibre does not refer to the underlying files containing the actual books except for exporting or copying to a device.
As to whether alternative naming will be possible in the future, Kovid has state that this is on the TODO list, but unlikely to appear anytime soon as it is a lot of effort to change. Last edited by itimpi; 01-14-2009 at 08:33 AM. |
01-14-2009, 08:37 AM | #7 |
Palm Addict
Posts: 477
Karma: 1001951
Join Date: Aug 2008
Device: Cybook Gen3 [512mb, FW: 1.5]
|
Thanks alot for explaining!
It's great news that it is on the ToDo-list, means I can switch to Calibre |
01-14-2009, 08:52 AM | #8 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Of course if you REALLY want this facility, since Calibre is Open-Source you could work out the patches to implement it and submit them to Kovid for inclusion
|
01-14-2009, 12:29 PM | #9 |
Palm Addict
Posts: 477
Karma: 1001951
Join Date: Aug 2008
Device: Cybook Gen3 [512mb, FW: 1.5]
|
Good point - but with me only just starting with python it will probably be done long before me being able to produce acceptable results
|
01-15-2009, 07:33 PM | #10 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
05-30-2010, 04:54 PM | #11 |
Member
Posts: 13
Karma: 10
Join Date: May 2010
Device: PRS-300
|
Has this feature been added?
I am using the latest version (0.6.55) of Calibre and it seems to have had the feature added that will allow the naming of file to a specified format. In my case, I would like the files named in the format of: Author (last, first) - Title. Despite inputting the parameters in the Save parameters, the files are always saved as Title - Author. Am I doing something wrong? Listed below is the command line in the save display.
{authors} - {title} |
05-30-2010, 07:57 PM | #12 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
There are templates to change the file name on Send to Device and Save to Disk, but neither changes the format of the names within the Calibre database (file structure) itself. |
|
05-30-2010, 09:14 PM | #13 |
Member
Posts: 13
Karma: 10
Join Date: May 2010
Device: PRS-300
|
Thanks for your response. I obviously mis-understood how the save parameter was supposed to work. Using the Save to disk function that you mentioned allowed me to achieve what I wanted. Thanks again!
|
06-05-2010, 10:07 PM | #14 |
Member
Posts: 15
Karma: 10
Join Date: Apr 2010
Device: Kindle 2 Global
|
Is there a way to keep the original file name? I want the corrected books with metadata back on my Kindle, and want Amazon to be able to recognize the book for saved notations and page syncing across devices. With totally different file names, it can't do that. I don't mind how the book is stored on the PC, but I'd like to be able to replace the book on my Kindle without having to manually rename it to the original name (which I am doing now).
|
06-05-2010, 10:19 PM | #15 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Maybe Griker can recall the specifics. Last edited by DoctorOhh; 06-05-2010 at 10:28 PM. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Filenames to metadata, preserving filenames. | nitrogun | Calibre | 5 | 09-13-2010 10:50 PM |
calibre cut-off the filenames and foldernames | jomaweb | Calibre | 2 | 01-30-2010 11:51 AM |
Saving Filenames in Calibre Library Folder | junkyardwillie | Calibre | 2 | 01-07-2010 07:51 PM |
Converting filenames | gafitz | Calibre | 0 | 05-06-2009 03:20 PM |
editing filenames that have been emailed to you | knives of ice | Amazon Kindle | 1 | 10-08-2008 10:33 AM |