Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-25-2016, 10:30 AM   #1
blake98
Member
blake98 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2016
Device: none
How to use tag mapper on existing and new books?

So I enabled tag mapper icons for the toolbar and added a few known tags that I want to normalize, ie: replace the tag if it matches pattern 'character A & character B' with tag 'character A/character B"

In the tag mapper (luggage tag) i see it says to apply to all my selected books but when I click 'ok', I don't see anything happen, no jobs and the tag hasn't been replace.

Am I missing a step somewhere? I know the rule works, testing it and I see the tag that it should replace in the tag browser..

if anyone can provide insight or help, it's very much appreciated!

Thanks

Last edited by blake98; 04-25-2016 at 10:39 AM.
blake98 is offline   Reply With Quote
Old 04-25-2016, 10:42 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,000
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Preferences:Adding books has (many ) provisions

0) Marking new additions
1) Adding a Fixed (set) of Tag(s)
2) Tag Mapper: Create or Edit

Never used the Luggage tag (on existing selection), So I don't know if No 'Jobs' is normal
theducks is offline   Reply With Quote
Advert
Old 04-25-2016, 12:58 PM   #3
blake98
Member
blake98 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2016
Device: none
Thanks. I added the rules to preference > add books but I think that only works for if I'm adding new books and not the existing tags?

I'm primarily looking to normalize all of my existing tags since I currently have 3k+ of tags, about 1/3 are not relevant to what I want tagged in a story, and 1/4 of the tags are not consistent in the tagging format (ie char A & char B, car A/Char B, char B/A, etc) so if I want to look up Char A/char B, I have to check all of those tags for all the stories
blake98 is offline   Reply With Quote
Old 04-25-2016, 01:20 PM   #4
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,000
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I think they use the same rules. We will have to wait for the main developer to weigh in on the Toolbar (existing books) usage issue
theducks is offline   Reply With Quote
Old 04-25-2016, 01:46 PM   #5
Krazykiwi
Zealot
Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.Krazykiwi ought to be getting tired of karma fortunes by now.
 
Posts: 137
Karma: 2156958
Join Date: Jan 2013
Device: Too many random androids to list
I use this often (I tend to use the tag mapper as a pseudo macro expander Just hitting the luggage tag and hitting Ok in the dialog is enough to run the rules for me.

I just tested here, adding a couple of tags that would hit "remove if matched" rules, to see how it actually behaves, and it definitely works. So here's a couple of leads in the meantime.

It doesn't run a job, it just applies the rules immediately. If you have enough books visible, and enough rules, you can see it put up the "waiting" cursor (the spinny circle, or the hourglass, depending on your OS), but it's pretty fast unless you're working on thousands of books at a time, so you might not see that.

Some things that have tripped me up in the past:

1. It applies the rules to all visible books, not the selected - but it does tell you how many books that is. So if you've run a search already, it'll only apply to the visible search results, or if you're in one VL, it'll only apply to those books.
2. If you're looking at the Book Details display (the one that's by default on the right hand side and shows the book cover and some other info) to see the tags, you might get fooled. That panel sometimes has a lazy update - it won't update until you select another book and back to the first one and I've never quite pinned down why or when. It's more than once led me to believe a tag didn't get changed until I remember that.
Check the actual tags field, either in the spreadsheet view or in the edit dialogue instead.
3. You need to be careful with the order if you have multiple things that might match. To test if it's working at all, just add a rule that says "Remove the tag if it is one of" and fill in some gibberish string. Run a search that will only return a couple of books, add the same gibberish string as a tag, then try. It should remove the tag immediately, since it's the first rule. If that does work, then your problem can be narrowed down to either your rule isn't doing what you're expecting, or there's an ordering problem. In either case, the "test rules" will likely be very helpful. If that doesn't work, then something is wrong with the plugin as a whole.
Krazykiwi is offline   Reply With Quote
Advert
Old 04-25-2016, 03:49 PM   #6
blake98
Member
blake98 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2016
Device: none
thanks KrazyKiwi, I have the hour glass but I thought that was just my computer acting up.
I'll give it a bit more time and see what happens. I did notice that it looked like it did work but in the tag browser, the old tag still exists but no books show up in there. I'm not sure if that's related to calibre just needing more time to update 3k+ books or that's expected behavior?
blake98 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag Mapper: Regular Expressions, need help BookFest Calibre 2 04-17-2016 09:47 AM
Help: Tag Mapper and RegExpressions jecilop Library Management 17 04-14-2016 10:41 PM
Bug in Tag Mapper elricks Calibre 1 01-09-2016 04:04 AM
Export Library, Tag Mapper, Add From ISBN edeniz Library Management 7 11-09-2015 07:41 AM
Revisions to Existing E-Books G J Lau Writers' Corner 9 07-06-2011 08:07 PM


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


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