01-08-2010, 10:28 AM | #1 |
The LARdT of E-Books
Posts: 106
Karma: 46
Join Date: Dec 2009
Device: HANLIN V3ext (Papyre 6.1)
|
Functions for directory & file naming
Dear Kovid,
Are there any functions available to apply them to metadata for directory and file naming? Now that Calibre supports file naming configuration in the uploading of books to the e-reader I am thinking in features that are common in mp3 name file handling such as: - Upper: converts name to uppercase - lower: convert to uppercase - Capitalize: capitalize (every first letter of each word converted to uppercase) - Title: First letter of title converted to uppercase, the rest lowercase ... I think you get the idea. I suppose that could be added easily as a python plugin (if I had the lesser idea about Python, i'll try myself). |
01-08-2010, 12:26 PM | #2 |
creator of calibre
Posts: 44,356
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No plans for the moment, I have other features I am working on, but feel free to open a ticket, maybe one of the other calibre developers will be interested.
|
Advert | |
|
01-08-2010, 05:44 PM | #3 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
There is support in the right click menu for changing the case of the metadata fields. However, it currently only works when editing existing metadata. There is no way as of yet to apply one of the case changes when importing.
|
01-09-2010, 06:57 AM | #4 |
The LARdT of E-Books
Posts: 106
Karma: 46
Join Date: Dec 2009
Device: HANLIN V3ext (Papyre 6.1)
|
Thanks for the info.
Anyway I'll try a ticket. The whole point of it is beign sure that filenames in PC and Device will be consistent just in case there is an error in the metadata |
01-09-2010, 12:06 PM | #5 | |
Well trained by Cats
Posts: 30,378
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You could manually set the Literal value for the single Alpha char of the directory you want. B/{author_sort}... Now save all authors that sort to 'B' (Butcher, Bujold, Bradley, Bradburry...) Change the letter to 'C' and repeat for that group. (Cherryh, Campbell, Carver...) |
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
transliteration in file&directory names | vadim_k | Calibre | 4 | 11-14-2011 07:04 AM |
File naming on Kindle | tomsem | Calibre | 2 | 09-15-2010 01:05 AM |
File naming convention for best import result? | Belfaborac | Calibre | 1 | 06-07-2010 09:14 AM |
File directory corruption in IR1000S | physics@war | iRex | 3 | 02-08-2010 08:56 AM |
File naming strangeness | HarryT | iRex | 2 | 06-05-2009 11:39 AM |