|  06-25-2020, 06:56 AM | #736 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			@davidfor & dunhill - all done, I've removed the attachments from your posts.  take care BR | 
|   |   | 
|  07-19-2020, 06:11 AM | #737 | 
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | 
			
			Edit: This feature (metadata variation custom column support) is now added to the advanced mode. Look at next posts for more details.
		 Last edited by capink; 08-19-2020 at 05:28 AM. Reason: removing link - feature now part of advanced mode added in later postss | 
|   |   | 
|  08-09-2020, 11:17 AM | #738 | 
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | 
			
			Here is my latest update to this plugin. It adds an Advanced Mode to the plugin. Before detailing the features of the advanced mode, I'd like to underline a couple of things: 
 Now, here is list of the advanced mode features: 
 Before you read examples on using builtin and user-defined template functions, you should visit this page for general info about templates in Calibre. You do not have to know any programming language to use Calibre's builtin templates. User-defined template functions, however, are written in python. You can use template functions written by others, or use any of the template functions in the examples below. They are written in way that makes them easy to be used and modified for a variety of contexts. Example No. 1: Replicate original plugin behavior in the advanced mode (Similar title, Soundex author) Spoiler: 
 Example No. 2: Use a builtin template to substitute the plugin matching algorithms Spoiler: 
 Example No. 3: How to use custom (user defined) template functions to add language specific matching. Spoiler: 
 Example No. 4 How to match by alias instead of author. Spoiler: 
 Example No. 5: How to use "match any of the items" option Spoiler: 
 Example No. 6: Using a user-defined template function for conditional matching Spoiler: 
 Example No. 7: How to use the plugin's builtin functions inside our templates Spoiler: 
 Example No. 8: Tag management using similar algorithm and builtin templates: Spoiler: 
 TIP: Since you are no longer bound only by the mandatory title and author columns, you might have a situation where you exclusively use custom columns for matching. These columns can have no values in a lot of cases. So if you are matching books based on custom_column1 and custom_column2, and one of them don't have value for certain books, you are effectively matching the books based on the column that have value alone. This situation can be avoided by using virtual library as follows: In the search bar type a search like this: Code: #custom_column1:true #custom_column2:true Update: Using filters to sort results. see this post for details. Final Notes: 
 Acknowledgements 
 Last edited by capink; 02-03-2022 at 08:13 AM. Reason: Adding link for new updates | 
|   |   | 
|  08-14-2020, 05:56 AM | #739 | 
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | 
			
			Version 1.7.5 
 Also the previous post is updated with the this note: Since you are no longer bound only by the mandatory title and author columns, you might have a situation where you exclusively use custom columns for matching. These columns can have no values in a lot of cases. So if you are matching books based on custom_column1 and custom_column2, and one of them don't have value for certain books, you are effectively matching the books based on the column that have value alone. This situation can be avoided by using virtual library as follows: In the search bar type a search like this: Code: #custom_column1:true #custom_column2:true Last edited by capink; 10-08-2020 at 10:08 AM. Reason: remove attachment. newer version available | 
|   |   | 
|  08-18-2020, 09:41 AM | #740 | 
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | 
			
			Update post 738 to use builtin template: Code: {authors:re(\(.+\),)}Also added the following example: Example No. 8: Tag management using similar algorithm and builtin templates: Spoiler: 
 Last edited by capink; 08-19-2020 at 05:39 AM. Reason: correcting typs | 
|   |   | 
|  08-30-2020, 11:05 AM | #741 | 
| Connoisseur  Posts: 91 Karma: 10 Join Date: Jun 2016 Device: Kobo Aura | 
			
			Please add a function to automatically delete one of the duplicates if it has a certain format compared to the other. For example, I want to delete all PDF files automatically if another format is available.
		 | 
|   |   | 
|  08-30-2020, 12:28 PM | #742 | 
| Wizard            Posts: 1,327 Karma: 5306 Join Date: Jan 2014 Device: none | 
			
			Or any other columns? Word count is lowest or last-edited date?
		 | 
|   |   | 
|  08-30-2020, 07:05 PM | #743 | ||
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | Quote: 
 Quote: 
 I think this issue has been addressed more than once by kiwidude. It is outside the scope of this plugin to decide which books to keep and which to delete. He also noted several times that this is better implemented in a separate plugin. And even if one is to write a separate plugin to handle this, there is a lot of difficulties in implementing it; most obvious is the question: How to decide which book(s) to delete and which to keep? Every user has his own set of criteria which makes it difficult to write a plugin that satisfies the need of all users (short of writing a separate plugin or routine for each user). So the best way is for each user to implement his own routine, by writing python scripts and running them through calibre-debug. This has the obvious problem that most users don't code and cannot go down this path. But even for people who can code, and want to write their own scripts to handle their unique individual needs this can be challenging: 
 That being said if someone can and want to implement this feature, all power to them. | ||
|   |   | 
|  08-31-2020, 12:36 PM | #744 | 
| Wizard            Posts: 1,327 Karma: 5306 Join Date: Jan 2014 Device: none | 
			
			How about just an option for sorting the books? Example: First by set of duplicate and then by a date column? Then I would know automatically that the second book would always be the oldest? Thanks so much in advance. | 
|   |   | 
|  08-31-2020, 01:52 PM | #745 | |
| Well trained by Cats            Posts: 31,250 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
 Note: Date is (normally) the date the record was created and not necessarily the format within | |
|   |   | 
|  08-31-2020, 02:26 PM | #746 | |
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | Quote: 
 This means that if all duplicates are shown at once, sorting by date will mess up the groups because it overrides the plugin mechanism for showing them next to each other. On the other hand, if the plugin is set to show one group at a time, each time you move to the next group, the plugin will override whatever sort filter you applied in the previous group. | |
|   |   | 
|  09-26-2020, 06:19 AM | #747 | 
| Resident Curmudgeon            Posts: 80,746 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			Can someone please fix Fnd DUplicates for Calibre 5? Thanks.
		 | 
|   |   | 
|  09-26-2020, 06:38 AM | #748 | 
| Wizard            Posts: 1,216 Karma: 1995558 Join Date: Aug 2015 Device: Kindle | 
			
			What exactly is not working in calibre 5?
		 | 
|   |   | 
|  09-26-2020, 06:47 AM | #749 | 
| Resident Curmudgeon            Posts: 80,746 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			There's another thread where someone is saying that DeDRM and Find Duplicates is not working with Calibre 5. DeDRM is a known issue that is easily solved with a 4.23 portable install. I guess I should have looked at the update history before posting. Sorry. | 
|   |   | 
|  09-26-2020, 02:09 PM | #750 | 
| Wizard            Posts: 2,086 Karma: 14079267 Join Date: Oct 2007 Location: Almere, The Netherlands Device: Kobo Sage | |
|   |   | 
|  | 
| Tags | 
| cross library duplicates, in library duplicates | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Quality Check | kiwidude | Plugins | 1277 | 10-21-2025 10:04 AM | 
| [GUI Plugin] Generate Cover | kiwidude | Plugins | 867 | 10-20-2025 05:31 PM | 
| [GUI Plugin] View Manager | kiwidude | Plugins | 416 | 07-16-2025 05:35 PM | 
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM | 
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |