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 06-06-2023, 08:26 AM   #1
emphyrion
Enthusiast
emphyrion began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jan 2014
Device: kindle, iPad, Nexus 7
One click remove all tags from selected books

Hello,

I'm looking for a way to remove all tags from the selected books, in ONE action.
So, ideally, a button in the toolbar or maybe a shortcut.
Is there a way to do that, or a plugin that does that?

Thank you
emphyrio
emphyrion is offline   Reply With Quote
Old 06-06-2023, 09:32 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,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
Bulk Metadata: remove Tags: See that box at the end
theducks is offline   Reply With Quote
Advert
Old 06-06-2023, 09:59 AM   #3
emphyrion
Enthusiast
emphyrion began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jan 2014
Device: kindle, iPad, Nexus 7
Hello @Theducks

Thank you, but I know how to do that :-)

I am really looking for a ONE CLIC option.
I have 2500+ books to sort by "moving" them from one tag to différents other tags (in this case, I use tags as folders).
And going through "Bulk metadata" is a little bit too long.
Ideally, I would love to just drag books on a tag (in the left pane) and it would replace all the books tags by the one I dragged them on.
Exactly as when you drag a file from a folder to another one in Windows explorer, for instance.
emphyrion is offline   Reply With Quote
Old 06-06-2023, 10:15 AM   #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,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
Ah!
Someone else will need to help as I don't use the drag ( -n-tag ) feature.
theducks is offline   Reply With Quote
Old 06-06-2023, 11:52 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No there is no way to replace tags using drag and drop
kovidgoyal is offline   Reply With Quote
Advert
Old 06-06-2023, 12:17 PM   #6
emphyrion
Enthusiast
emphyrion began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jan 2014
Device: kindle, iPad, Nexus 7
Hello @kovidgoyal,

Thank you for your answer.
As a Python developer, do you think I would be able to create a plugin that does what I need?
Just wondering, I didn't check yet how Calibre Plugins are made.
Thank you,

Emphyrio
emphyrion is offline   Reply With Quote
Old 06-06-2023, 01:16 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by emphyrion View Post
Hello @kovidgoyal,

Thank you for your answer.
As a Python developer, do you think I would be able to create a plugin that does what I need?
Just wondering, I didn't check yet how Calibre Plugins are made.
Thank you,

Emphyrio
You can use the Action Chains plugin Single Field Edit action to clear the tags (or any other field/fields) with a single keystroke. You can then use D&D to add the tag you want. Or the same Action Chains action can prompt you for the tag and add it to the book. Action Chains doesn't support D&D.

I don't think it is practical to write a plugin that supports D&D to the tag browser. I think it would require "monkey patching" the existing D&D methods in the tag browser's model class. Or running calibre from source and modifying the tag browser to do what you want.

Ask in the Action Chains thread if you need help with it.
chaley is offline   Reply With Quote
Old 06-07-2023, 02:39 AM   #8
emphyrion
Enthusiast
emphyrion began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jan 2014
Device: kindle, iPad, Nexus 7
Quote:
Originally Posted by chaley View Post
You can use the Action Chains plugin Single Field Edit action to clear the tags (or any other field/fields) with a single keystroke. You can then use D&D to add the tag you want. Or the same Action Chains action can prompt you for the tag and add it to the book. Action Chains doesn't support D&D.
Thank you
I will check this plugin.
Just a thought: as I understood, Calibre is highly customizable. I'm surprised that it's not possible to just add an action following the "end of D&D" event or the "add label" one (at least, programmatically).
But, maybe "Action Chains" is what I need.
I'll check this evening.
emphyrion is offline   Reply With Quote
Old 06-07-2023, 06:00 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by emphyrion View Post
Just a thought: as I understood, Calibre is highly customizable. I'm surprised that it's not possible to just add an action following the "end of D&D" event or the "add label" one (at least, programmatically).
You can, by changing the calibre source. That isn't hard, but you will be required to merge your changes as calibre releases happen. You could also write a plugin that "monkey patches" calibre to call your method instead of calling whatever is built in, permitting you to do what you want.

But TBH: it is hard for me to believe that the effort is worth it. Modifying D&D would avoid requiring the one keystroke that invokes an action chain to clear the tags for the selected book.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract text from selected books, convert them to tags, and add them to metadata. lizzie1170 Calibre 43 09-11-2022 08:59 PM
How can I bulk-delete a number of selected tags from all books in my library? droopy Library Management 1 08-09-2020 06:24 PM
[Viewer Plugin] Get selected text on right click. jverrone3 Development 1 03-27-2015 10:57 PM
Automatically remove tags when adding books garytshepherd Library Management 12 03-13-2012 11:16 AM
Remove Tags from all books silverraven Calibre 3 08-03-2010 09:43 AM


All times are GMT -4. The time now is 04:46 AM.


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