Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-09-2024, 08:22 AM   #1
mremond
Junior Member
mremond began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2024
Device: Kindle Paperwhite & reMarkable 2
Calculated field for Read column ?

Hello,

I am now using the Reading Goal plugin to manage my reading progress.
I sometime use Calibre Web to access my library and it requires a Read field to filter Read or unread books.

Is there a way to have the Read field defined such as it will be True if the value of the progress field is 100% ?

Otherwise, I often forget to manually keep them in sync.

Thanks !
mremond is offline   Reply With Quote
Old 08-09-2024, 06:08 PM   #2
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: 9,559
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Code:
program:

## You can remove this if you don't want it, just change the next 'elif' to an 'if'
	if ($$#percentread >=#1 && $$#percentread <=#99)
	then 'Currently Reading' 

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

## Change 'Undefined' to '' if you prefer a null value
	elif $$#percentread == 'None'
	then 'Undefined' 

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

	fi

Last edited by ownedbycats; 08-09-2024 at 08:30 PM.
ownedbycats is online now   Reply With Quote
Advert
Old 09-06-2024, 11:27 AM   #3
mremond
Junior Member
mremond began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2024
Device: Kindle Paperwhite & reMarkable 2
Thanks, it works fine !
mremond is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Split pubdate from Title field into custom column nano5 Library Management 0 05-19-2024 07:11 AM
Custom Column question - Date field was last modified Comfy.n Calibre 12 09-21-2022 02:10 AM
Column built from other column : Mark read if evaluated Cmely Library Management 1 02-26-2017 10:07 AM
Author Mgmt -Links field/column Lookup Name? jecilop Library Management 7 09-01-2014 06:30 PM
Default value for read field (Yes/No-field) opitzs Library Management 3 11-09-2011 08:17 AM


All times are GMT -4. The time now is 03:15 PM.


MobileRead.com is a privately owned, operated and funded community.