![]() |
#241 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,346
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You (probably) aren't doing anything wrong. I broke template function definition in the latest release. It will be fixed in the next release, probably tomorrow.
|
![]() |
![]() |
![]() |
#242 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2011
Device: kKindle 3 / Sony PRS 500
|
Hi,
Thanks for your quick response, I will keep an eye out for the next update. Many Thanks for your work on a Great Application. |
![]() |
![]() |
Advert | |
|
![]() |
#243 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Jan 2012
Location: Texas, USA
Device: Kindle Paperwhite 4
|
Kindle Read Status
I am following this post by pchrist7 to add a read status column to Calibre. I would like to pad the percentages with spaces on the left to aid in sorting but cannot figure out how to do so. I have tried changing the line to
Code:
return is_reading_str + ': ' + pct.rjust(3) + '%' Code:
return is_reading_str + ': ' + pct.rjust(3, ' ') + '%' Code:
return is_reading_str + ': ' + pct.rjust(3, '0') + '%' Original post by pchrist7: Spoiler:
|
![]() |
![]() |
![]() |
#244 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2012
Device: Kindle 4
|
Hello,
I received a new Kindle 4 today and I want to try the plugboard function in calibre to rename and sort some ebooks but for gods sake it did not work. I use following Template: {series}{series_index:0>2s| [|] }{title} After I send an eBook to the Kindle the filename on the device is changed but the title is still the same as in Calibre. Please see pictures attached. *UPDATE* Now it works! I don't know why, but now all titles on the Kindle are renamed. Last edited by FMarkus; 02-14-2012 at 05:21 PM. |
![]() |
![]() |
![]() |
#245 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Kindle
|
I had the same problem, but found the answer somewhere on these boards (sorry, can't find the post now).
If the files were originally on the Kindle under their old title, you need to not only delete them from the Kindle but restart it (Menu > Settings > Menu > Restart on mine), then send the new versions from Calibre (Send to Device). Apparently the Kindle can be a bit reluctant to let go of stored metadata. |
![]() |
![]() |
Advert | |
|
![]() |
#246 |
Member
![]() Posts: 20
Karma: 10
Join Date: Jan 2012
Location: Germany
Device: Energy Sistem eReader Pro (Boyue T62)
|
Custom column to display book size in KByte?
Is it possible to create a custom column that displays the book size in KByte? The default size display in MByte is rather 'course'...
Last edited by kintrupf; 02-15-2012 at 11:25 AM. |
![]() |
![]() |
![]() |
#247 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,346
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
program: human_readable(booksize()) ![]() |
|
![]() |
![]() |
![]() |
#248 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,917
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Images add bytes. Mark up (HTML Tags) adds bytes So unless you are storage oriented, bytes is not the most useful of measures ![]() |
|
![]() |
![]() |
![]() |
#249 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2012
Device: Kindle 4
|
Hello,
I have an issue with the read status in calibre. I use a Kindle4 and installed the python script and added the column as described in the post from pchrist7. (I uses the kindle_read_status_2) The reading status is shown in the Meta Preview (pic1) but the custom column only shows not read (pic2). I used following template for the column: {comments:kindle_read_status_2(90,Read,Reading,Not Read)} For my understanding the custom column must show read (or the %) but it shows only Not Read Edit: Could it be possible that the python script only checks the english version? What needs to be changed to match the german language? (17.02.2012 Zuletzt gelesene Seite: Ort 3051 (99%) Last edited by FMarkus; 02-18-2012 at 09:17 AM. |
![]() |
![]() |
![]() |
#250 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
German version - kindle_read_status_2
Quote:
Yes, the examples only works for english status text. However, here's a German version that should work, at least it does here, using your example. You'll have to modify the template. Make a copy of the line mg = rematch etc., and insert it below the original line. Disable the original by entering a # sign at the front Modify the copy line (or copy from the code below) to handle german text. Please be carefull you have a TAB in front of the copy line. Code:
# mg = re.match('.*\s(\d+[-/]\d+[-/]\d+).*?Last Page Read: Location \d+ \((\d+)%\)', val, re.I + re.DOTALL); mg = re.match('.*\s(\d+[-/\.]\d+[-/\.]\d+).*?Zuletzt gelesene Seite: Ort \d+ \((\d+)%\)', val, re.I + re.DOTALL); Hope this works for you, Cheers Per Last edited by pchrist7; 02-19-2012 at 02:17 AM. Reason: typos |
|
![]() |
![]() |
![]() |
#251 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
Because pct is an integer ?
Quote:
I'm not that much of a python programmer, but I suspect python only let's you use 0 padding since pct is an integer and rjust is a string function ? If that's the way it works, you could try to convert pct from int to string before using rjust. Sorry, don't know how to do this. Google might help you. If you figure it out, please enlighten us all in this thread ![]() Cheers, Per |
|
![]() |
![]() |
![]() |
#252 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2012
Device: Kindle 4
|
Quote:
Another question, any idea how to hide the .mbp file in the format column? Hopefully it was ok to post a german translation in the german Sub Forum -> Link Last edited by FMarkus; 02-19-2012 at 04:46 AM. |
|
![]() |
![]() |
![]() |
#253 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
![]() Quote:
Glad to hear it works. I have NO problem what so ever, that you've translated, and posted in the German forum. Actually, I think it's brilliant ! ![]() cheers, Per |
|
![]() |
![]() |
![]() |
#254 | |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Jan 2012
Location: Texas, USA
Device: Kindle Paperwhite 4
|
Quote:
|
|
![]() |
![]() |
![]() |
#255 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,101
Karma: 4388403
Join Date: Oct 2007
Device: Palm>Ebookman>IPaq>Axim>Cybook>Kndl2>IPAD>Kndl3SO>Voyager>Oasis
|
Sorry, for such a basic question, but I'm still trying to educate myself on what plugboards do. I didn't see (understand?) this in the previous postings.
I want to be able to add the series name/number to my title in my Calibre collection. As I understand it, plugboards are only activated when you save to disk or send to device. Is there a way to select a batch of books, and apply a plugboard or template to change only those books in Calibre? Of course, I wouldn't want it reapplied then when I send it to device. Any thoughts? |
![]() |
![]() |
![]() |
Tags |
custom column, tag, tags |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
custom column i need a little help | shinken | Calibre | 3 | 09-15-2010 03:41 AM |
Using Custom Metadata in Save Template | EJvdH | Calibre | 1 | 07-02-2010 06:06 AM |
Accessories Decalgirl Kindle 2 custom skin template | srmalloy | Amazon Kindle | 6 | 04-09-2010 09:55 PM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |