Thread: bookmarks
View Single Post
Old 09-07-2023, 06:59 PM   #6
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,200
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by arpeggioaccele View Post
I literally just write the title of the book in an obsidian markdown file lmao

I really would like a plugin that logs all books read using the calibre viewer though, maybe I'll write one if there's not one available
The Last Modified plugin has the ability to log timestamps to a custom date column whenever a format is opened by calibre editor. I remember getting a request for similar functionality for the calibre viewer. The problem was, unlike the with the editor, calibre does not trigger a db event when a format is opened by the viewer, so the only other option left for me was to monkeypatch calibre, something I am not a fan of.

As soon as I get some free time, I will submit a patch to Kovid to launch an event whenever a format is opened by the viewer, so that I can log it using the Last Modified plugin. And maybe also use it to add an Action Chains event. It should be straightforward and would not take more than a couple lines of code. But I want to look at other things first, like launching an event for Calibre's Open With functionality as well.

Not sure Kovid would accept these changes, but if he does, the Last Modified plugin can be modified to log the timestamps for book views as well. This way anyone can get a complete log by using calibre's Catalog functionality to export the data to excel sheet detailing the book titles and viewer timestamps.
capink is offline   Reply With Quote