![]() |
#766 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
You can probably fix this by implementing the "shutting_down" method and restoring the preference. |
|
![]() |
![]() |
![]() |
#767 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
![]() I fixed this as you suggested by implementing shutting_down method ![]() I also tested by switching libraries without clearing duplicates, but that does not lead to the same problem. So, hopefully this solves it for good. |
|
![]() |
![]() |
Advert | |
|
![]() |
#768 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Version 1.7.6
Version 1.7.6
Update: Advanced Mode: Add support for saving and restoring match rules. Update: Advanced Mode: Add option to control sorting of books in duplicate groups. Requested by @tanjamuse Update: Advanced Mode: Use calibre's template dialog for adding and editing templates. Update: Advanced Mode: Mark first and last books in each duplicate group: "first_duplicate", "last_duplicate" Update: Mark records with deleted formats in binary search as "deleted_binary_duplicate" Update: Option to export duplicate groups to json file. For advanced mode, the sorting of books is retained in the json file. Fix: Mark exemptions only when showing them and remove the marks afterwards. Fix: Restore state if the user exits calibre with the duplicates restriction still on. Thanks to @chaley Fix: Remember last sort in library view and restore it back. With this new version, instead of repeating steps every time you invoke the advanced mode, you can save the match rules and restore in one click. You can also export these match rules for backup or for importing in other calibre libraries. The new sort feature (a suggestion by @tanjamuse) allows you to control the sorting of books in duplicate groups. It is also complemented with marking the first book in the group as "first_duplicate" and the last book in the group as "last_duplicate". So if for example, if you want to show all the books in the group(s) except the last book(s) you can type the following in the search bar: Code:
not marked:last_duplicate N.B whether the above search applies to all groups or to the current group depends on the current search mode (either highlight or restrict results). To make it easier to switch between these two modes, follow the steps in this post. Quote:
Code:
{formats:count(,)} If the above is not enough and you want more control of how to handle duplicate books, there is an option to export duplicate ids to json file, that can be later fed to calibre-debug (or a shell) script to handle them according to the needs of individual users. For the advanced mode, the exported json file retains the sort order specified by the user in the sort dialog. Finally, for people who use the binary compare with automatic removal of duplicates, they can find the records with automatically deleted formats by typing this search: Code:
marked:deleted_binary_duplicate Last edited by capink; 10-09-2020 at 04:24 AM. Reason: remove attached plugin. A newer version attache to a later post |
|
![]() |
![]() |
![]() |
#769 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,012
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
Wow! That's a lot of really useful features added.
Let me request one more... Frequently when I find duplicate books I don't want to delete them, I want to merge them. So, maybe a merge all option, or a mode where a keystroke can merge the duplicates and then move on to the next group? Also, I'm thinking the entangled groups stuff is important enough that maybe the searches should be stuck in a menu entry, in a way to remind people that they're there. Last edited by compurandom; 10-08-2020 at 11:37 AM. |
![]() |
![]() |
![]() |
#770 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
I don't think this is very common situation for most users. I am still weighing how to deal with it and whether it is worth any extra effort, given how uncommon I think it will turn out of most users. Maybe feedback here from others on how frequently they run into this situation can change this. |
|
![]() |
![]() |
Advert | |
|
![]() |
#771 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,012
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
Quote:
But like I said, an easy way to merge the current group and move on would be of great value. (...entangled group searches...) Quote:
|
||
![]() |
![]() |
![]() |
#772 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,724
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Mark the books that need to merged and do it with the metadata edit merge tool when you're done with FD.
BR |
![]() |
![]() |
![]() |
#773 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Here is a version with a couple more fixes for restoring previous gui state.
Last edited by capink; 10-14-2020 at 06:34 AM. Reason: remove attachment. version 1.8.0 releaseed |
![]() |
![]() |
![]() |
#774 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,724
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@capink
Can I suggest the updated plugin be released as Version 1.8 or even 2.0. BR |
![]() |
![]() |
![]() |
#775 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
|
![]() |
![]() |
![]() |
#776 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,071
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
![]() |
#777 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Not backwards (with the older main app) Compatibility changes Significant UI changes, where the old guide is just really wrong or would be confusing. How about,the new guard took over and want to create a definitive Start point ![]() |
|
![]() |
![]() |
![]() |
#778 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
If all goes well, I will release as 1.8. |
|
![]() |
![]() |
![]() |
#779 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Quote:
Check your private @capink I send you what you requested |
|
![]() |
![]() |
![]() |
#780 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Released version 1.8.0. The same as the last beta with one fix for missing import.
|
![]() |
![]() |
![]() |
Tags |
cross library duplicates, in library duplicates |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] View Manager | kiwidude | Plugins | 416 | 07-16-2025 05:35 PM |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1251 | 07-07-2025 09:13 PM |
[GUI Plugin] Generate Cover | kiwidude | Plugins | 861 | 06-21-2025 11:51 AM |
[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 |