![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2015
Device: Kindle
|
Question about metadata from filenames
Hi! It's my first time posting here so I apologize in advance if this is not the correct place to post this.
I have a big collection of book having the following filename format: <author last name>, <first name> - <title>. Can someone tell me or give me a hint how can I add the book in the calibre library and make it extract the author name and title correctly (author = first name last name and author sort = last, first). Thank you! |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I assume the embedded metadata is not correct?
Preferences ==> Adding books Uncheck "Read metadata from file contents rather than file name" Second half of the screen, "Configure metadata from file name", will allow you to use a regular expression to match the metadata. The default is: Code:
(?P<title>.+) - (?P<author>[^_]+) Code:
(?P<author_sort>[^_]+) - (?P<title>.+) You may just have to rename the files using a bulk file renamer to swap the "LN, FN" to "FN LN". Or use the Quality Check plugin to set the author from the author_sort, after importing. Either way, use the regex: Code:
(?P<author>[^_]+) - (?P<title>.+) Last edited by eschwartz; 07-24-2015 at 06:25 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2015
Device: Kindle
|
Thanks a lot! QC plugin is great. I'll just add them as they are and then swap with the plugin. Thanks again
|
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Happy to help.
![]() |
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
In addition to the Pattern by eschwartz
Preference: Adding Books: <top right> (Change the state of the tick if needed) Swap Author First and Last |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
![]() |
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#8 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() BR |
|
![]() |
![]() |
![]() |
#9 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
My mouse pointer points to wherever I put it. (Yes, even on the odd occasion I use Windows. I would notice unusual behavior like that.)
Isn't there a setting that makes it snap to the confirmation button? |
![]() |
![]() |
![]() |
#10 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#11 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Dell Mouse on XP where you left it. Kensington Expert Mouse Pro (early 10 button version) on same, Snaps to button Logitec mouse on W7, where I left it (there is no Expert Mouse Pro specific driver for W7. uses Generic Wheel Mouse) |
|
![]() |
![]() |
![]() |
#12 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
![]() |
![]() |
![]() |
#13 | |
Dedicated
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 441
Karma: 11279376
Join Date: Jun 2012
Location: Amarillo, TX
Device: iPad Mini 1 & 4, Nook ST, Dell 11-3000, iPhone 5s
|
Quote:
Comes with "IntelliPoint" driver that has "snap to" option: "Automatically move pointer to the default button in a dialog box". Works with XP and Vista. Other devices in house are mouseless laptops on W7 and W8; don't know about Microsoft compatibility with them. |
|
![]() |
![]() |
![]() |
#14 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() I tend to move my mouse to the right to get it out of the text. FWIW I also moved the commonly use button (menu) bars in Sigil and the calibre-viewer to the right edge so I don't need to cross over ![]() |
|
![]() |
![]() |
![]() |
#15 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I use a $2 generic mouse (looks like a VeeDub beetle) with the out-of-the box driver, cp->mouse->pointer options->snap to is set, I also use the Cursor Hider gadget to auto-hide the pointer when its not needed.
But back on topic - that checkbox is easily missed, IMO it should align with the "Mark newly added books" checkbox, it's a bit like a shag on a rock out there in right field ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Readers, Filenames and Metadata | RedCanyoneer | General Discussions | 36 | 09-16-2011 02:54 PM |
Seriously, how to parse metadata from filenames | charlweed | Calibre | 7 | 07-18-2011 01:58 PM |
Filenames to metadata, preserving filenames. | nitrogun | Calibre | 5 | 09-13-2010 10:50 PM |
batch metadata editing possible from filenames? | caponesan | Reading and Management | 3 | 09-03-2009 12:50 PM |
libprs500 metadata from filenames | Dan23 | Calibre | 2 | 06-29-2008 06:04 PM |