05-31-2016, 11:51 AM | #1 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Apr 2016
Location: Near Seattle
Device: Amazon Fire 10
|
Rename existing books, using template?
I Have lots of books in my Calibre library that are named such that the metadata downloader doesn't recognize them. Such as:
"Jim, Jose, Sandy & George Great book of Stuff, Happy Publishing 2011.ISBN.2D4D5H7" They don't all follow this logic of <name>&<name><title> etc, but many of them do follow patterns. I see several different patters that show up over and over, so I'd like to set up some different templates that could be applied to different books. (Not while adding them, but changing a book that is already part of the library.) It would be nice if I could use the Edit Metadata dialog to 'parse' a name with one of the templates. Even better if I could visually select a group of books that all had a similar pattern in their name, and bulk parse them... Does that make sense? Is something like this possible? Should I submit this as a feature request? |
05-31-2016, 12:04 PM | #2 |
Well trained by Cats
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You are looking for Bulk Mode Metadata Edit: Search and Replace
Select 2 or more books (with the same problem pattern), Tap E; Switch to the S&R tab You can save (and recover ) the template of field values used |
Advert | |
|
05-31-2016, 02:25 PM | #3 |
Addict
Posts: 296
Karma: 1599870
Join Date: Jun 2012
Device: none
|
Specifically, the Search and Replace uses Regular Expressions, so if you can create your templates in regex, you can then save them in the Search and Replace screen and use them as needed.
|
05-31-2016, 07:32 PM | #4 | ||
null operator (he/him)
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
Backup your library before using Bulk S&R - if you screw up there's no undo. If your library is 'big' you could create a test library from a subset via the right click Copy to library feature. BR |
||
06-03-2016, 10:55 AM | #5 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Apr 2016
Location: Near Seattle
Device: Amazon Fire 10
|
Thanks for the tips! I may have found a bug. I'm not seeing a bug thread, so I'll put it here for now. I wanted to make a temporary library and copy some books to it for testing. I got an error when trying to make it. See image:
The error message: ======================== calibre, version 2.58.0 ERROR: Unhandled exception: <b>ConstraintError</b>:ConstraintError: NOT NULL constraint failed: __js_settings.val calibre 2.58 [64bit] embedded-python: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.9 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Successfully initialized third party plugins: Job Spy && Recipe Reader && Find Duplicates && Reading List && Count Pages && Clean Metadata && X-Ray Creator && KindleUnpack - The Plugin Traceback (most recent call last): File "site-packages\calibre\gui2\dialogs\choose_library.py", line 185, in accept File "site-packages\calibre\gui2\dialogs\choose_library.py", line 130, in perform_action File "site-packages\calibre\gui2\actions\choose_library.py", line 607, in choose_library_callback File "site-packages\calibre\gui2\ui.py", line 685, in library_moved File "calibre_plugins.job_spy.ui", line 91, in library_changed File "calibre_plugins.job_spy.ui", line 1402, in migrate_preferences_to_settings File "c:\cygwin64\home\kovid\sw\build\apsw-3.8.2-r1\src\cursor.c", line 231, in resetcursor ConstraintError: ConstraintError: NOT NULL constraint failed: __js_settings.val ================ It does appear that the library was created though... Last edited by issybird; 06-09-2016 at 01:31 AM. Reason: Oversize image thumbnailed. |
Advert | |
|
06-03-2016, 11:04 AM | #6 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Try Updating Your Plugins...
Quote:
You really should keep all of your plug-ins updated. You clearly are using an old version of the plug-in that caused this error. I will let you figure out which it is. DaltonST Last edited by issybird; 06-09-2016 at 01:33 AM. |
|
06-09-2016, 02:18 PM | #7 | |
Enthusiast
Posts: 45
Karma: 10
Join Date: Apr 2016
Location: Near Seattle
Device: Amazon Fire 10
|
Quote:
Looks like this one is KindleUnpack. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rename books and change covers on Paperwhite | mcjtom | Devices | 9 | 09-26-2016 07:36 PM |
How to rename epub books by title and author | westiti | Library Management | 3 | 01-29-2016 07:25 AM |
Using F1 key to rename books? | Dullahir | Library Management | 4 | 04-14-2014 01:51 AM |
Automatically rename books with number of the serie | Ansem_93 | Library Management | 29 | 03-26-2013 06:32 AM |
Move/rename books and retain annotations | md02439 | iRex | 2 | 12-03-2011 06:20 PM |