![]() |
#301 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch & Sony PR300
|
Is it possible to create a custom column to show booksize in eg Bytes? When comparing for possible duplicates in my library, MB is too coarse to assume the duplication.
I've had a look around for pointers, with no luck. If this has been covered already then a gentle nudge to look in the right direction would be much appreciated. |
![]() |
![]() |
Advert | |
|
![]() |
#302 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,501
Karma: 13662250
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
I'm unsure of your request, but if you install the Find Duplicates plugin there is a binary compare feature that will take the guess work out of comparing books for exact matches.
|
![]() |
![]() |
![]() |
#303 | |
CC Android & calibre dev
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,615
Karma: 2655474
Join Date: Jan 2010
Location: France
Device: Many android devices
|
Quote:
The template for a "column built from other columns" that shows the size information in bytes is Code:
program: booksize() Code:
program: formats_sizes() Note that the second template (formats_sizes) can cause performance problems when used in large libraries, especially if the column is sorted. The first template will slow things down a bit, but not as much as the second. |
|
![]() |
![]() |
![]() |
#304 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Kindle Touch & Sony PR300
|
dwanthny , chaley.
Very many thanks. c answered my question as phrased and I'll be able to go and 'play' a bit now. d answered the 'what I was trying to achieve' so between you I well happy. As I said, vmt. |
![]() |
![]() |
![]() |
#305 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
|
StreakyG -
You might also look into the Count Pages plugin. Find Duplicates binary compare won't flag as duplicates otherwise identical books that have, for example, an internal timestamp difference. But for myself, I'm willing to work with the assumption that two versions of a book with identical word counts are duplicates ... |
![]() |
![]() |
Advert | |
|
![]() |
#306 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2012
Device: iPad
|
I'm having a hard time with this. I have a few thousand books that have their title set to "Star Wars: Fate of the Jedi #05: Allies" and the Series is set to "Star Wars: Fate of the Jedi [5]".
I would like to remove the "{series} #{series_index}: " from the title. Can someone please point me in the right direction on the regular Expression I should be using to do this in Bulk. Thank you Joel |
![]() |
![]() |
![]() |
#307 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,526
Karma: 20890108
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
|
Quote:
Field to search: title Search for: Code:
(Star Wars: Fate of the Jedi \#\d+\: )
Anything inside paren will be gobbled. escape the # (or any special to REGEX characters). \d+ gets any numbers following. \: gets the colon. Spaces MUST be exactly placed as exists to make the match work. BTW :welcome" to MR |
|
![]() |
![]() |
![]() |
#308 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2012
Device: iPad
|
Quote:
The Code you gave me worked great on any Star Wars: Fate of the Jedi Books. Is there any way it can be modified to take the information in the Series field and remove it from the title field. I have somewhere north of 1834 Books that have various series listed. in the Title and Series field. Thank you Joel |
|
![]() |
![]() |
![]() |
#309 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,526
Karma: 20890108
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
|
Quote:
In the meantime: if your format is solidly consistent... Code:
(.+ \#\d+\: )
The nice thing about the bulk editor S&R is you can CANCEL if you can't create a satisfactory find or replace term . Warning: One you hit apply or OK it is a done deal ![]() |
|
![]() |
![]() |
![]() |
#310 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2012
Device: iPad
|
That worked FLAWLESSLY.
Thank you so much for the help. Joel |
![]() |
![]() |
![]() |
#311 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Feb 2011
Device: none
|
Metadata Plugboard not working right
Quote:
Trying to use this, however, no matter what the series is, it always uses the initials for it. I have a lot of series that are one word that keep showing up as one letter which is making it hard to figure out which series the books belong to. ie: Both series name Bite, and Berserk....will both show B [1] {title}......do I need to tweak the metadata plugboard so it will recognize that it is to use the series alone if it is only 1 word? Help is greatly appreciated. |
|
![]() |
![]() |
![]() |
#312 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,501
Karma: 13662250
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
stripped_series shortened initials Good Luck. |
|
![]() |
![]() |
![]() |
#313 |
Member
![]() Posts: 13
Karma: 10
Join Date: Feb 2011
Device: none
|
Here is all my information in screen shots....
Spoiler:
|
![]() |
![]() |
![]() |
#314 |
Member
![]() Posts: 13
Karma: 10
Join Date: Feb 2011
Device: none
|
Okay.....now the whole thing isn't working at all.....is there a specific save to disk template I need to use??
Problem found and fixed....see next post. Last edited by remus.grrrl; 09-22-2012 at 06:26 PM. |
![]() |
![]() |
![]() |
#315 |
Member
![]() Posts: 13
Karma: 10
Join Date: Feb 2011
Device: none
|
A HA HA HA......finally got the dang thing to work.......at least with the newer calibre (0.8.70) You do NOT put the plugboard expression in the Metadata Plugboard like I thought.....You put it in the save to disk, template area. As below....now it works perfectly.....
![]() |
![]() |
![]() |
![]() |
Tags |
custom column |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |