View Single Post
Old 07-17-2023, 11:24 AM   #2708
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,112
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by BookJunkieLI View Post
I setup the columns for Current Reading Location, Percent Read, Rating, and Last Read Timestamp based on the directions at the beginning of this thread. And everything works fine except for Current Reading Location. I created a custom column called Kobo Status, lookup #kobostatus, set to "Text, column shown in the tag browser", and I chose it in the dropdown for Current Reading Location. But when I connect my Libra 2 to Calibre I get what looks like a filename instead of Unread, Reading, or Finished.

What am I doing wrong?

I did manage to get the column based on percent read that PeterT created to work, although I can't figure out how to get it to register 99 and above as Finished, just 100.
Ignore the filenames entirely, that's for internal use when restoring the reading position.

A 'column based on other columns' with this template should get what you want.

Code:
program:

	if ($$#percentread >=#1 && $$#percentread <=#99)
	then 'Reading' 

	elif $$#percentread >=#100
	then 'Finished' 

	elif $$#percentread == 'None'
	then '' 

	elif $$#percentread >=#0
	then 'Unread' 

	fi

Last edited by ownedbycats; 07-17-2023 at 11:30 AM. Reason: typo
ownedbycats is offline