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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-14-2009, 03:44 AM   #1
Pulp
Palm Addict
Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.
 
Pulp's Avatar
 
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?
Pulp is offline   Reply With Quote
Old 01-14-2009, 05:17 AM   #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,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.
itimpi is offline   Reply With Quote
Advert
Old 01-14-2009, 05:50 AM   #3
Tom Swift
Addict
Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.
 
Tom Swift's Avatar
 
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?
Tom Swift is offline   Reply With Quote
Old 01-14-2009, 07:07 AM   #4
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,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by Tom Swift View Post
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.
Kovid has suggested this will be added in the future for exporting the books from the calibre database.

Quote:
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?
All sorting in Calibre iis done against the data held in the Metadata database. The filenames are stored in the Calibre Metadata database to link the stored book information to the underlying files. If you rename the files calibre will no longer be able to find them, and due to the fact that the file system and the metadata database are now out of sync you might some unpredictable results.
itimpi is offline   Reply With Quote
Old 01-14-2009, 08:04 AM   #5
Pulp
Palm Addict
Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.
 
Pulp's Avatar
 
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.
Pulp is offline   Reply With Quote
Advert
Old 01-14-2009, 08:30 AM   #6
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,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.
itimpi is offline   Reply With Quote
Old 01-14-2009, 08:37 AM   #7
Pulp
Palm Addict
Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.
 
Pulp's Avatar
 
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
Pulp is offline   Reply With Quote
Old 01-14-2009, 08:52 AM   #8
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,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
itimpi is offline   Reply With Quote
Old 01-14-2009, 12:29 PM   #9
Pulp
Palm Addict
Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.
 
Pulp's Avatar
 
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
Pulp is offline   Reply With Quote
Old 01-15-2009, 07:33 PM   #10
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Pulp View Post
Good point - but with me only just starting with python it will probably be done long before me being able to produce acceptable results
You will learn a lot looking though Calibre's code base and you would be surprised how quick it is to produce acceptable results.
user_none is offline   Reply With Quote
Old 05-30-2010, 04:54 PM   #11
Trester
Member
Trester began at the beginning.
 
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}
Trester is offline   Reply With Quote
Old 05-30-2010, 07:57 PM   #12
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Trester View Post
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}
I don't believe you can change the file format within the Calibre database.

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.
DoctorOhh is offline   Reply With Quote
Old 05-30-2010, 09:14 PM   #13
Trester
Member
Trester began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2010
Device: PRS-300
Quote:
Originally Posted by dwanthny View Post
I don't believe you can change the file format within the Calibre database.

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.
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!
Trester is offline   Reply With Quote
Old 06-05-2010, 10:07 PM   #14
PaxtonReader
Member
PaxtonReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2010
Device: Kindle 2 Global
Quote:
Originally Posted by dwanthny View Post
I don't believe you can change the file format within the Calibre database.

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.
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).
PaxtonReader is offline   Reply With Quote
Old 06-05-2010, 10:19 PM   #15
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by PaxtonReader View Post
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).
I am not a Kindle user but I do recall a thread where someone had to change the name of the saved notations (on the kindle) to match the book name??? to recover notes.

Maybe Griker can recall the specifics.

Last edited by DoctorOhh; 06-05-2010 at 10:28 PM.
DoctorOhh 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
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


All times are GMT -4. The time now is 08:53 PM.


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