![]() |
#16 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
Edit: metadata_db_prefs_backup.json sent Last edited by Purple Lady; 06-26-2015 at 03:17 PM. |
|
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@Purple Lady: could you be using more than one library? I ask because in the screen capture you showed in post 14 there isn't any Genre data. Or is this a book in the database that doesn't have any Genre information attached?
|
![]() |
![]() |
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@Purple Lady: I can confirm that there is is (was) a problem with custom columns used in templates where the custom column was empty. The release alpha version assumes that a missing value is an invalid value. The next release will check if the column is defined but otherwise empty and if so will return an empty value.
|
![]() |
![]() |
![]() |
#19 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
I'm getting an underscore at the end of my filename.
Edit: See next post for better screenshot Last edited by Purple Lady; 06-28-2015 at 03:27 PM. |
![]() |
![]() |
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
|
![]() |
![]() |
![]() |
#22 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
|
![]() |
![]() |
![]() |
#24 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Well i played a little bit with the "if, then, else" in a template.
Code:
:if:{series}:then:{series│_│}:else:{first_author}:::/{series_index││ - }{title} - {first_author} Result for Books with series as expected. _Series/1 - Title - First Author Result for books without series as expected: First Author/Title - First Author So far so good. If there would be the possibility to define the amount of digits (so that files get correct listed in case there are more than 10 books in a series) in "series_index" i would be more than happy..jaja. I love it. Looking forward to Calibre 2.32, so that CC can take his template when books are pushed from Calibre to CC with Wifi. Last edited by Thomas_AR; 06-28-2015 at 11:54 PM. |
![]() |
![]() |
![]() |
#25 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
![]() This change will be in the next release, which should be in a day or two. |
|
![]() |
![]() |
![]() |
#26 | |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Quote:
Great job. So far no more suggestions ![]() |
|
![]() |
![]() |
![]() |
#27 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Just played with the new digit syntax. Working as expected. Later I post my complete template.
Suggestions: %06.2f results for example in 000,35 May it possible to change the digit separator from ',' to '.' ? Or is there a special reason you have chosen the ','? Last edited by Thomas_AR; 06-30-2015 at 12:10 PM. |
![]() |
![]() |
![]() |
#28 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#29 | |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Quote:
On one side you are right regarding standard decimal separator in my local - Spanish uses ",". On the other hand Calibre (English and Spanish GUI ) uses the "." when pushing books to my tablet So here my final template - for now ![]() Code:
:if: {series}:then:{series:|_|}:else:{first_author} :::/{series_index:%04d/%07.2f|[|] - }{title} - {first_author} P. S. Are you planning something like a "contains" syntax? Example: Code:
:if: {tags:contains|test} :then: {series_index:%04d} :else: {series_index:%04.2f}::: Last edited by Thomas_AR; 06-30-2015 at 11:00 PM. |
|
![]() |
![]() |
![]() |
#30 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's the best file naming convention for CC? | PatNY | Calibre Companion | 8 | 06-21-2015 06:51 AM |
File Naming on Nook STR | Pinecone | Devices | 4 | 02-26-2014 05:51 PM |
PRS-500 File Naming Convention | agarner | Sony Reader | 5 | 01-06-2012 11:36 AM |
File naming on Kindle | tomsem | Calibre | 2 | 09-15-2010 01:05 AM |
File naming strangeness | HarryT | iRex | 2 | 06-05-2009 11:39 AM |