View Single Post
Old 09-04-2017, 10:36 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,115
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ian-and-penny View Post
Is it possible to convert book titles (downloaded from Amazon) that contain series data to contain the title only, and populate the series field with the series info?

For example I would like the book title "Wired In (Paradise Crime Book 1)" to be "Wired in Paradise" and the series column to be populated with "Paradise Crime [1]"
Look at the Bulk mode (for 2 or more books) of the Metadata Editor's Search and Replace Tab.

It will take 2+ passes: (I never got series +series_index to work in a single pass)
1) Copies the Series info to the Series Column I crop out the 'Book'
2) clean up the title (discard the original series stuff)

something like this search title REGEX
Be sure to backup your Library. Bulk mode has no UNDO
Search Title
Code:
 (.+?)\s\((.+?) Book (\d+)\)
Replaces:
Series: \2
series_index: \3
Title: \1

A couple of other crops/edits I regularly do:
I also crop:
'Series'
'A'
Plurals: Mysteries -> Mystery (this is just one book of many )
theducks is offline   Reply With Quote