View Single Post
Old 08-13-2021, 03:50 AM   #1
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,085
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
[GUI Plugin] Last Modified

This plugin enables the user to have his own custom last_modified column(s), instead of relying on calibre's last_modified which is reserved for internal use and sometimes changes when the books has not been modified. The plugin can update one or more custom date column(s) whenever one or more of the following events happen:
  • book metadata updated. (with options on what columns to include/exclude)
  • cover modified.
  • format added.
  • format(s) removed.
  • category item renamed.
  • category item removed.
  • book edited by calibre editor.
  • book created.

This gives the user more flexibility in defining when a custom #last_modified column(s) should be updated. There is also option to include/exclude changes from certain columns from updating the custom Last modified column(s) (see screenshots).


Note that you must add at least one custom date column to be able to use this plugin.

Installation Notes:
Special Notes:
  • Requires Calibre 5.28.0 or later.

Credits
  • Special thanks for Kovid for adding the necessary changes in calibre source to make this plugin possible. Also chaley for his suggestions and feedback.

Paypal Donations:
  • If you find this useful please feel free to show your appreciation.

Version History:
Spoiler:

Version 0.8.5 - 29 September 2023
Update: Automatically exclude last_modfied column.

Version 0.8.3 - 9 August 2022
Update: update to calibre6 icon themes. Code borrowed from @JimmXinu.

Version 0.8.3 - 17 July 2022
Fix PyQt6 migration bug.

Version 0.8.2 - 13 January 2022
Fix PyQt6 migration bug.

Version 0.8.1 - 13 January 2022
Fix: PyQt6 migration bug.

Version 0.8.0 - 6 January 2022
Changes for the upcoming PyQt6.

Version 0.7.1 - 16 September 2021
Fix: Commit events in hibernation cache on and shutting_down. Reset hibernation data on library_change.

Version 0.7.0 - 15 September 2021
Update: Modify Hibernation mode.

Version 0.6.0 - 13 September 2021
Update: Add Hibernation mode.

Version 0.5.0 - 3 September 2021
Minor fixes.

Version 0.4.0 - 27 August 2021
Fix: Bug when multiple database events are happening in succession, leading to apsw.ThreadingViolationError.

Version 0.3.0 - 16 August 2021
Update: Add book created event and drop all other events for created books.

Version 0.2.0 - 13 August 2021
Bug fixes.

Version 0.1.0 - 13 August 2021
Initial Release.

Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	644
Size:	33.3 KB
ID:	188668   Click image for larger version

Name:	2.png
Views:	609
Size:	41.5 KB
ID:	188748   Click image for larger version

Name:	3.png
Views:	548
Size:	41.1 KB
ID:	188749  
Attached Files
File Type: zip Last Modified_0.8.5.zip (87.9 KB, 9839 views)

Last edited by capink; 09-29-2023 at 07:46 AM. Reason: Version 0.8.5
capink is offline   Reply With Quote