01-24-2011, 10:31 AM | #151 | |
Addict
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
Quote:
Nope - no matter what's the Catalog Read fields, + is added to tags again when fetching annotations again. |
|
01-24-2011, 10:54 AM | #152 |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
@pchrist7: The '+' tag is being added by the Fetch Annotations code, that won't change without a revision to that code.
chaley is telling you that by removing '+' from the E-book options, the catalog will not consider '+' as a marker for read books. You will see the results when you build the catalog. G Last edited by GRiker; 01-24-2011 at 11:28 AM. |
Advert | |
|
01-24-2011, 11:19 AM | #153 | |
Addict
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
Oops
Quote:
Sorry for misunderstanding. Understand chaley's suggestion will change the Catalog, the OP was worried by the tags. |
|
01-24-2011, 11:26 AM | #154 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Chaley's suggestion fixed the problem with the tag field being updated, now I need to know how to get it to put the reading status in the read_status field instead of the first line which is today's date.
|
01-24-2011, 11:47 AM | #155 | |
Grand Sorcerer
Posts: 12,029
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
def mark_book_as_read(self,id): read_tag = gprefs.get('catalog_epub_mobi_read_tag') if read_tag: self.db.set_tags(id, [read_tag], append=True) |
|
Advert | |
|
01-24-2011, 11:51 AM | #156 | |
Comparer of the Ephemeris
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
|
Quote:
I'll take a closer look when I have a moment. G |
|
01-24-2011, 12:03 PM | #157 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Hi:
Another question: When you select a book to download the annotations that have already had annotations previously downloaded, will it overwrite the previous value? If so, this is not happening for me. |
01-24-2011, 05:35 PM | #158 |
Connoisseur
Posts: 74
Karma: 342
Join Date: Sep 2008
Location: England
Device: Imac, iPhone SE, iPad Air 2, Ipad Mini, Ipad Pro, Sony 650.
|
help with save template formula
I want to get my books saved in the format
Lois McMaster Bujold - [Vorkosigan 16] - Winterfair Gifts.epub Using this thread I put together the template {authors} - [{series} {series_index:0>2s}] - {title} This works all the time where there is a series but without a series I get the square brackets as follows Lois McMaster Bujold - [ ] - Miles, Mystery and Mayhem.epub Can someone help with changes to my formula to remove the brackets where no series exists, it is far beyond my skill level adrian |
01-25-2011, 07:06 AM | #159 | |
Member
Posts: 12
Karma: 1001778
Join Date: Sep 2010
Location: Rundu, Namibia => Melbourne, Australia
Device: PocketBook 360, Astak PocketPro
|
Quote:
Anything outside the curly brackets will always appear in the title. To make the square brackets (and the 2nd hyphen) conditional, they need to be placed inside the appropriate curly brackets. Try the template: {authors} - {series:|[} {series_index:0>2s||] - }{title} The text after the first | will appear before the series name and the text after the second | after the series name only if the book is part of a series. It should give you the result you're looking for. JL |
|
01-25-2011, 10:46 AM | #160 | |
Addict
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
Quote:
The book I'm reading just went from 25% to 97%. What values did you have before "Fetch Annotations", what did you expect ? Last edited by pchrist7; 01-25-2011 at 10:50 AM. |
|
01-25-2011, 11:21 AM | #161 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
I think I might be misunderstanding something, the values are changing but the status is not, for instance if a book now has 99% it is still showing as Reading and not as Read.
|
01-25-2011, 06:00 PM | #162 |
Connoisseur
Posts: 74
Karma: 342
Join Date: Sep 2008
Location: England
Device: Imac, iPhone SE, iPad Air 2, Ipad Mini, Ipad Pro, Sony 650.
|
Thank you JL
I can see what you are getting at I have tried {authors} - {series:|[} {series_index:0>2s||] - }{title} as you suggest but calibre gives me an error message for an invalid conversion specification apart from that i would have expected the initial |[ to come before series adrian |
01-25-2011, 11:07 PM | #163 | |
Grand Sorcerer
Posts: 6,220
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I believe this is the template you're looking for. You almost had it right Code:
{authors} - {series:|[|} {series_index:0>2s||] - }{title} |
|
01-26-2011, 05:55 AM | #164 |
Connoisseur
Posts: 74
Karma: 342
Join Date: Sep 2008
Location: England
Device: Imac, iPhone SE, iPad Air 2, Ipad Mini, Ipad Pro, Sony 650.
|
Yes that's it
thank you adrian |
01-26-2011, 12:00 PM | #165 | |
Addict
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
Quote:
I think the Kindle writes the location of the "first character on the last page" to the mbp file. So even if last page only contains 5 characters, it'll always be 99%. ( The Kindle "cheats" with it's status display on the Kindle screen ). Again we're dependent on the data from "Fetch Annotations" put into the Comments. That's why we have to say that if Read% > 98 then the book is Read, even if it might not be. Then the books "Last opened date" will be displayed to indicate the book as read, and "when". Did this help ? |
|
Tags |
custom column, tag, tags |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
custom column i need a little help | shinken | Calibre | 3 | 09-15-2010 04:41 AM |
Using Custom Metadata in Save Template | EJvdH | Calibre | 1 | 07-02-2010 07:06 AM |
Accessories Decalgirl Kindle 2 custom skin template | srmalloy | Amazon Kindle | 6 | 04-09-2010 10:55 PM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 05:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 03:37 PM |