04-08-2012, 06:30 PM | #286 |
Enthusiast
Posts: 31
Karma: 166
Join Date: Apr 2012
Device: Nook Color
|
Here's what I'm gonna do .. change the plugboard to alter the title instead of the author, and try it on a few of the books that are out of order and see if they at least go back where they are supposed to be, and see what happens with that.
|
04-08-2012, 07:15 PM | #287 |
Enthusiast
Posts: 31
Karma: 166
Join Date: Apr 2012
Device: Nook Color
|
Oooooooookay, so this isn't good .. I reverted back to normal, and now .. they are still out of order. I feel like I broke the thing, lol, these books have been on my nook for a while and were never out of order before, so it shouldn't be the books themselves. ;\
|
Advert | |
|
04-09-2012, 02:57 AM | #288 |
Grand Sorcerer
Posts: 11,950
Karma: 7225107
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It seems as if the NC is sorting incorrectly. I can imagine several classes of bugs that would make it do that, but I have no clue if the bugs really exist. One type of bug would cause it to fail once the number of books goes over some magic number. Another would cause failure when the amount of metadata goes over some value. A third could be caused by a corrupted internal DB (assuming the NC has such a thing).
The only way I can see to debug this sort of problem is to factory-reset the NC. The reason for the factory reset is to remove anything that the NC might be remembering. Next, set the plugboard the way you want, then start adding books. Add them in small quantities and check if the sort stays stable and correct. Don't change the plugboard in the middle of the experiment. It might be best to start with the books that are currently failing. A factory reset will disconnect the NC from your B&N account. Be sure that you can reconnect it before you do the reset. I don't know what "rules" B&N imposes for device counts, or whether B&N will recognize that the same device is reconnecting. |
04-09-2012, 11:10 AM | #289 |
Enthusiast
Posts: 31
Karma: 166
Join Date: Apr 2012
Device: Nook Color
|
I was really, really hoping to avoid a factory reset because I have a lot of apps with saved data on it that I don't want to lose. A factory reset is my last resort only.
Last night I messed with it for hours, I even went through and uploaded them all to my nook one by one instead of in any kind of bulk and it was working for a while. But now it's all of my books pretty much that are out of order, and not just those 27. I took basically all of them off instead of the series i'm currently reading until I can figure out what the problem is. I don't think it has anything to do with the amount of books on it, because I've had way more books on there than what I have now. My cord recently broke so i've been using a different micro cord to plug it into the computer, do you think that has anything at all to do with it? I sure do wish I had never messed with the plugboard to begin with and kept it how it was .. at least it was sorting correctly then. |
04-09-2012, 04:33 PM | #290 |
Enthusiast
Posts: 31
Karma: 166
Join Date: Apr 2012
Device: Nook Color
|
Okay, I reverted back to the original again and reuploaded them back onto my nook yet again, and finally it started sorting right .. it seems the plugboard just really confused my nook into how to sort, or what to sort. guess i'm just stuck. at least it's fixed!
|
Advert | |
|
04-09-2012, 09:34 PM | #291 | |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Did you have just one plugboard configured? I had two plugboards at the same time once (to long ago to remember exact details) and they conflicted with each other. Good Luck. |
|
04-09-2012, 10:12 PM | #292 |
Enthusiast
Posts: 31
Karma: 166
Join Date: Apr 2012
Device: Nook Color
|
For format I chose epub because that's all I use, for device I chose nook color. But, I'm dumb and realized what it was doing .. It was using the 01 as the last name, and using the first nbame as te first name because those were the first and last places on there.. I don't know why it only did it for some books at first or why it didn't fix until way later, but it does explain the sorting. Using that, I don't think there is a way I can put it in the author sectio without it messing up one way or another, it would have to be the title and I just can't take how unorganized that looks. So I will just try to use shelves more and hope they stay there.
|
04-09-2012, 10:14 PM | #293 |
Enthusiast
Posts: 31
Karma: 166
Join Date: Apr 2012
Device: Nook Color
|
Oh and I only used one, though I tried two when it was recommended.
Sorry for the typos, I'm on my phone. |
04-10-2012, 12:02 PM | #294 |
Enthusiast
Posts: 31
Karma: 166
Join Date: Apr 2012
Device: Nook Color
|
I think I might just put the series index by the title, because that's little so it won't look terribly clunky. It won't tell me which series but it will take some of the guesswork out of it .. I really only need the series info at times when I don't have wifi, which is not often because otherwise I can just look it up on goodread. I wanted it to work but I can see now why it didn't, I liked the way it looked lol. I do have an idea for something, but I need to make sure its possible.
|
04-20-2012, 04:50 PM | #295 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
|
Hi. I'm looking to do a rather complicated plugboard, and I honestly have no clue how to do it and was wondering if you could help.
Currently I'm using this: {series:re(([^\s])[^\s]+(\s|$),\1)}{series_index:0>2s| | - }{title} But that's a bit wonky sometimes, and was hoping for something a bit cleaner. I'd like for a plugboard to use the first letter of each word in the series, but not use "T" when the series begins with "The," as well as not using any special characters like &. Also, if the author only has one book series, I'd like there to not be anything except 01, 02, 03 in front of the title name, since I don't need the extra information in that case. I have no clue if any or all of that is possible, but I would appreciate any help anyone's willing to give! |
05-05-2012, 03:13 AM | #296 | |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2012
Device: kindle
|
Quote:
I have tried over and over copy and pasting the program code but no joy. I am using Calibre 0.8.34 Thanks in advance for any help |
|
05-06-2012, 12:34 AM | #297 | |
Addict
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
TABS ? Or ...
Quote:
Hmm, I wonder if all indents in the program code are <TABS> ? Must be. Your quote of original post step 5 looks weird ? Looks like 1 line, should be 22 lines like this: Code:
def evaluate(self, formatter, kwargs, mi, locals, val, is_read_pct, is_reading_str, no_page_read_str): try: test_val = int(is_read_pct) except: return 'is_read_pct is not a number' import re mg = re.match('.*\s(\d+[-/]\d+[-/]\d+).*?Last Page Read: Location \d+ \((\d+)%\)', val, re.I + re.DOTALL); if mg is None: return no_page_read_str date = mg.group(1) pct = mg.group(2) try: f = int(pct) if f > test_val: return date elif f > 0: return is_reading_str + ': ' + pct + '%' except: pass return no_page_read_str Cheers, Per |
|
05-15-2012, 02:26 AM | #298 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2012
Device: Kindle Touch
|
Quote:
My sincere apologies for not replying sooner with feedback to your advice. Life became a snowglobe that someone turned over, and things have only now settled, permitting me to tinker in Calibre again. The good news is the ifempty function works! My plugboard now looks like this (I repeated the plugboard for both my .mobi formats and my .azw formats to successfully cover all my bases): {series:ifempty(--)}{series_index:0>2s|[|] - }{title} The only (minor) bad news is, as my template stands now, it works 98% of the time. Standalone titles that start with a "The" article, e.g. The Call of The Wild, ended up mixed in with the series. Perhaps I'll uncover a solution for that in time (besides having Title, The in the original metadata field). Thank you very much for your help! Last edited by Euclase; 05-15-2012 at 02:48 AM. |
|
05-18-2012, 02:15 PM | #299 | |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2012
Device: kindle
|
Quote:
|
|
05-20-2012, 02:49 AM | #300 |
Addict
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
Goody nice to hear
|
Tags |
custom column, tag, tags |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
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 |