08-25-2009, 10:40 PM | #1 |
Wizard
Posts: 1,763
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Series index Save to Disk problem
The series index has no leading zero
1 book 10 book 2 book 3 book So when there are ten or more book in a series sorting by name does not work for me is there a way for me to get the series index at least when I use the save to disk 01 02 03 04 When the books in a series number more than 9 and 001 002 003 010 100 when they are more than 99 etc |
08-25-2009, 10:51 PM | #2 |
creator of calibre
Posts: 44,337
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use {series_index:03n}
|
Advert | |
|
08-25-2009, 11:52 PM | #3 |
Wizard
Posts: 1,763
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
That doesn't work I get this error when I add it my string
ERROR: Invalid template: <p>The template {authors}/{series}/{series_index:03n}{title} is invalid:<br>Unknown format code 'n' for object of type 'str' |
08-26-2009, 12:13 AM | #4 |
creator of calibre
Posts: 44,337
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Oops
{series_index:0>3s} |
08-26-2009, 01:13 AM | #5 |
Wizard
Posts: 1,763
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Thanks that worked perfectly
I don't think I would be so happy with my reader if it wasn't for calibre and the converting etc it does. |
Advert | |
|
08-27-2009, 04:32 PM | #6 |
Connoisseur
Posts: 59
Karma: 7642
Join Date: Jul 2009
Device: Kindle
|
I was very happy to see this as I was also bothered by this. Unfortunately, when the book is not in a series, this ends up putting 000 there instead of nothing.
Is there a way to get the behavior seen when the book is part of a series but add nothing when it's not? Thanks, Tom |
08-27-2009, 04:54 PM | #7 |
creator of calibre
Posts: 44,337
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, I'm afraid there isn't
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save to Disk altering Title and Series | RichieTheK | Calibre | 9 | 08-21-2010 05:19 PM |
Save to disk troubles | Stevefaust | Calibre | 5 | 06-10-2010 09:25 AM |
Save to Disk Series Help | DoctorOhh | Calibre | 7 | 04-21-2010 07:46 AM |
Help with save to disk format | tselling | Calibre | 3 | 12-21-2009 12:41 PM |
Can't SAVE TO DISK Calibre 0.6.24 | Rootman | Calibre | 5 | 12-06-2009 05:01 AM |