![]() |
#346 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 866
Karma: 1169535
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#347 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 666
Karma: 197668
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Hello @thiago.eec, I'm telling you a question I have.
I have Calibre linked to goodreads but I don't use the reading process, so when I finish reading a book in my calibre I have a status column that will say Read. Create a custom column for the reading process that depends on the Status column, if it says Read it puts 100 and determines it in numbers. But I see that I am not taking well the number of books for the month of November. What could be causing the problem? |
![]() |
![]() |
![]() |
#348 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 866
Karma: 1169535
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
I assume your 'goodreadtags' column has multiple values (tags-like), right? Then your template might fail because it compares the whole value of the column. So, if you only have 'Leído' in this column, it will work, but if you have multiple values, like 'Bueno, Leído', it fails. Check if your '#progresos' column is really showing '100' for all the five books. If not, you can correct it changing 'switch_if' for 'in_list': Code:
{#goodreadtags:'in_list($, ',', 'Leído', '100', '')'} Code:
python: def evaluate(book, context): if book.get('#goodreadtags'): if 'Leído' in book.get('#goodreadtags'): return '100' else: return '' else: return '' Last edited by thiago.eec; 12-04-2023 at 08:10 AM. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1288 | 08-11-2023 08:40 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
Reading Goal | KyBunnies | Audiobook Discussions | 12 | 10-25-2017 06:29 PM |