![]() |
#1 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
![]() 0) Marking new additions 1) Adding a Fixed (set) of Tag(s) 2) Tag Mapper: Create or Edit Never used the Luggage tag ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() 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 |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() 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? |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |