![]() |
#1 |
Member
![]() Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Florida
Device: Samsung Galaxy Tab A 8" (2017)
|
![]()
I have Calibre 0.8.3 and the Ectaco JetBook 5" eReader. I have created a custom column for Genre as outlined in the Tutorial. Genre is in hierarcical format, i.e. "Genre.sub-genre" as per the Tutorial. The JetBook recognizes FB2 books as "author lastname, firstname_title". My current Save templete looks like this: "{#genre:subitems(0,1)||/}/{series}/{author_sort}_{series}{series_index:>3s} {title}". So Far - So Good, But there are 2 problems:
first, Calibre saves books to the Genre directory, creates the sub-grenre directory and then saves the book in a series directory in the Genre directory - not in the sub-genre directory; second, if there is no series the filename saved has a space in front of the title which I don't want. Any solution to this? |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
Code:
{#genre:subitems(0,1)||/}/{series}/{author_sort}_{series}{series_index:>3s|| }{title} |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,310
Karma: 7957679
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
![]() Your template says to create a directory named by the genre, then create a directory named by the series inside that directory. Your text implies that you want a directory named by genre, then another directory named by subgenre, then the series. To do what I think your text says (combined with Manichean's suggestion), try Code:
{#genre:subitems(0,1)||/}{#genre:subitems(1,2)||/}{series}/{author_sort}_{series}{series_index:>3s|| }{title} FYI: the template editor in the next release shows a preview of the value produced by the template for the current book (the book selected before editing the template). One way to play with templates with far less pain is to create a 'play' composite column (column made from other columns), then use F2 to edit the template for this column. No send-to-device or restarts are required, and you see the results immediately on the library view. F2 opens the template editor. Once you are happy, delete the column or (what I do) hide it. |
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 18
Karma: 10
Join Date: Aug 2010
Location: Florida
Device: Samsung Galaxy Tab A 8" (2017)
|
Thanks Guys, it works great now - appreciate the quick response.
|
![]() |
![]() |
![]() |
Tags |
directory creation, fb2, genre, send to |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with creating the development environment | rozen | Calibre | 6 | 05-29-2011 11:38 PM |
Problem - Sony 650 send to device | junkml | Calibre | 4 | 01-18-2011 04:55 PM |
send book to device - ignores directory | jom | Calibre | 1 | 11-27-2010 05:56 PM |
Problem with 'Send to Device' | Rolando | Calibre | 9 | 10-28-2010 01:14 PM |
Problem in V6 with send to device - Kindle2 | tbergman | Calibre | 1 | 07-25-2009 04:29 PM |