From my point of view, I was looking for something related to Date Added in the shelves. (I have thousands of books on shelves, but the sorting is less than useful) I'd be happy if there was a way to map that to the Calibre Date column, If that has to be done via set_bookshelf instead, that would be fine. ie:
if shelfName in book.current_shelves:
if show_debug: debug_print(' book already on shelf.') cursor.execute(updatedatequery, updatedate_values)
return
to update only the date if already on the shelf, and then have the add/update queries later on both set Date Added as well when the book is not already in the shelves list.
From my point of view, I was looking for something related to Date Added in the shelves. (I have thousands of books on shelves, but the sorting is less than useful) I'd be happy if there was a way to map that to the Calibre Date column, If that has to be done via set_bookshelf instead, that would be fine. ie:
if shelfName in book.current_ shelves:
debug_ print(' book already on shelf.')
cursor. execute( updatedatequery , updatedate_values)
if show_debug:
return
to update only the date if already on the shelf, and then have the add/update queries later on both set Date Added as well when the book is not already in the shelves list.
Does that make sense?