Quote:
Originally Posted by BobC
A general observation about the use of the utility - this is not a bug !
If you have a reasonably large book you can be quite a few pages into reading it before the % read advances beyond 0% on the device. This is then reflected in the % read value returned by the utility. The result of this is that you can have a book which you are currently reading but where the status as determined by Calibre (with a bit of column tweaking) is not yet "Reading".
Interestingly though if you examine the "Collections" column on the device view for a book like this it shows up as "Im_Reading". If it were possible for the Utility to get this status it would provide a more accurate view of what books have been started than trying to infer it from the %read. Or perhaps someone knows how to access the "collections" column, which only seems to exist with a device connected, to make the true reading status visible in the Library view.
|
I did have this at one time, but setting it exactly write was a problem. The problem is that the reading status has three states: unread=0, reading=1 and finished=2 (there is also a closed=3 but that is fairly rare). The Yes/No with the third state gives this, but displaying the red x for either unread or reading seems wrong.
But, it should work now. The rules for setting the reading percent are:
- ReadStatus = 0 (unread) then reading percent is unset
- ReadStatus = 1 (reading) then reading percent = whatever the device database has
- ReadStatus = 2 (finished/read) then reading percent = 100
So right now, if there is no value in the column, it is unread. If the value is 100, it is finished. Anything else means I'm reading it.
For my percent read column, I have column icon rule that puts a green tick in the percent read column if the value is 100. Looking at the rules, there is no way to see if it is unset. I haven't played enough with the template language to see if there is a test for no value. But, I would expect there to be a for "None".
I can see the benefit of this, but I feel like I can already get the results from the current columns. Adding another column isn't hard, the main issue is what type and what values. And then explaining it properly.
Or maybe there is a bug. If you aren't seeing the zero in the percent read when the book is read, then maybe there is a circumstance where the percent read is not set correctly.