11-18-2012, 09:48 PM | #1 |
Enthusiast
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
Meta Plugboard Help
I am trying to combine two functions in the metadate plugboard and have been unable to get it right using the Calibre Manual on template language.
I have been able to eliminate the dash (-) before non-series titles but, keep getting the series number twice (example: Kitty Norville 010 - 10 - Kitty Steals the Show). My current template is: {series} {series_index:0>3s} - {title} I know I need to combine that somehow with the "| - |" part of the below: {series} {series_index:| - |} {title} I just know the answer will be something simple. Any help will be appreciated. |
11-18-2012, 10:17 PM | #2 | |
Well trained by Cats
Posts: 30,358
Karma: 58053696
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
Advert | |
|
11-18-2012, 10:53 PM | #3 |
Enthusiast
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
|
11-18-2012, 11:11 PM | #4 |
Grand Sorcerer
Posts: 12,590
Karma: 74358024
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Can you check the titles of your books. Are they 10 - Kitty Steals the Show or Kitty Steals the Show ?
|
11-18-2012, 11:20 PM | #5 |
Enthusiast
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
There are no numbers in the titles (it is "Kitty Steals the Show). The series number only shows in the Series Column as "Kitty Norville [10]" and in the Book Details pane as "Book X of Kitty Norville.
|
Advert | |
|
11-19-2012, 12:23 AM | #6 |
Well trained by Cats
Posts: 30,358
Karma: 58053696
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
check to see that you don't have another template in the Plug board
AND also one in the Nook device driver |
11-19-2012, 12:36 AM | #7 | |
Enthusiast
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
Quote:
Does anyone know HOW to add "{series} {series_index:| - |} {title}" to the below expression? If there is no series then I do not want the dash to appear before the title. {series} {series_index:0>3s} - {title} thanx. |
|
11-19-2012, 04:54 AM | #8 | |
Grand Sorcerer
Posts: 11,932
Karma: 7208979
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
{series} {series_index:0>3s| - |} {title} If you want the dash before the title, then the template is Code:
{series} {series_index:0>3s|| - } {title} Code:
{series} {series_index:0>3s|[|] - } {title} |
|
11-19-2012, 04:56 AM | #9 | |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
There must be something somewhere to give you the extra series number because the template you shared with us will not do it.
Quote:
Also if you're still getting the extra series index showing you might want to take a screen shot of the metadata plugboard config and attach it. Update: Or you could read the excellent explanation by chaley in post 8 above. Last edited by DoctorOhh; 11-19-2012 at 05:35 AM. |
|
11-19-2012, 10:01 AM | #10 |
Well trained by Cats
Posts: 30,358
Karma: 58053696
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
the 3s part of the template accounts for the '010' (as desired)
the '10' is what I would expect if no template formatting ({series_index}) were used. 3.5 places can have template control 1a) Preferences: Send to Device 1b) preferences: Save to Disk 2) the specific device OUTPUT driver. Preferences: Plugins: Device Interface: <your device> 3) Metadata plugboard I know that #2 take priority over #1. I don't know where/how #3 fits in |
11-19-2012, 11:18 PM | #11 |
Enthusiast
Posts: 46
Karma: 112
Join Date: Mar 2012
Device: nook tablet
|
[QUOTE=chaley;2310483]
If you want the dash before the title, then the template is Code:
{series} {series_index:0>3s|| - } {title} I was messing up at | placements around the dash - I obviously do not understand their function well (or at all!) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugboard Help! | ChrisKaos | Library Management | 0 | 04-22-2012 04:18 AM |
Plugboard limitations. | DavidTC | Devices | 1 | 03-30-2012 05:26 AM |
Metadata Plugboard | IxiaAurea | Calibre | 1 | 11-05-2011 01:13 PM |
Plugboard Question | gweminence | Calibre | 3 | 01-11-2011 01:34 PM |
set meta data with ebook-meta and ebook-convert | krischik | Calibre | 6 | 01-19-2010 11:40 AM |