View Single Post
Old 07-17-2023, 11:30 AM   #2712
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by BookJunkieLI View Post
I was afraid of that since I have no idea what I'm supposed to do with it.



Actually the Libra 2, at least, moves it to 100%. I have a couple stories on my Libra that I ended up reading on my phone so I marked them Read on the Libra and Calibre was updated to 100% read.

Either way, I get what you're saying with the greater than/less than but I have no idea how to translate that into the template PeterT created.
Code:
Template:       {#percentread:'cmp($, 100, cmp($, 0, '', '', 'Reading'), 'Finished', '')'}
I've tried multiple times to learn template language Python but outside of some very simple things I've never managed to understand them. Usually I find templates others have created very similar to what I want to do and then tweak them until I get what I want. So far I can't figure out how to get it to register >=99. I can however manually change the percent column so that's what I'm currently doing.
See post #2708. This is a slightly modified version of the template I use.
ownedbycats is offline