10-08-2019, 11:17 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2019
Device: TolinoVision 4HD
|
save template and collections/folders
Hey everyone,
I just got a new e-book reader and wanted to transfer my collection, but I'm having some trouble to get things to show up exactly how I want it. I'm switching from an old Kobo Touch to a Tolino Vision 4 HD - which, as far as I know, should work just like a Kobo device. It also has collections/shelves, similar to Kobo readers. What I want to achieve: If a book is part of a series, I want calibre to create a folder/collection with that series as the name and put all the books in there. If a book isn't part of a series, I instead want them to be sorted into folders/collections by their tag(s), e.g.'oneshots'. The series folders are created just fine, but books that aren't part of a series aren't put into any collections. I played aroun with the "ifempty" function, but couldn't get it to work. My collection is currently sorted like this on my old device, so I know it is possible. But I have since reset my computer, so I can't take a look at my old config. And as far as I remember, calibre just sorted it like this automatically anyway. I feel like this shouldn't be too hard to accomplish, so I'm probably missing something obvious. I'd be greateful for any help, and thanks in advance! |
10-08-2019, 11:59 PM | #2 | ||
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
In a Kobo, the collections are stored in a database. That shows what books are in what collections. The driver can maintain this. For the tolino, the shelf is directory. If you create a subdirectory in the books directory, and put books in it, that directory will be used as a shelf. Quote:
|
||
10-09-2019, 06:32 AM | #3 |
Guru
Posts: 760
Karma: 2090886
Join Date: May 2019
Device: Kindle Oasis 1st Gen
|
There is also a Tolino sub-forum that might be able to help you out with any specific Tolino questions:
https://www.mobileread.com/forums/fo...play.php?f=279 |
10-09-2019, 09:23 AM | #4 | |||
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2019
Device: TolinoVision 4HD
|
Quote:
Quote:
{series:ifempty('tags')} I've tried using field(tags) in the ifempty bracket, as well as different versions using the apostrophe/not using them. I also tried using a predefined text/folder and custom field instead of the tags field, but no difference. I assume it's just a dumb syntax error from me misunderstanding the template language, but I honestly am out of ideas now Quote:
|
|||
10-09-2019, 10:01 AM | #5 | ||
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Code:
{:'ifempty(field("series"),field("tags"))'} The following will use just the first tag for each book: Code:
{:'ifempty(field("series"),list_item(field("tags"),1,","))'} Code:
{:'ifempty(field("series"),list_item(raw_field("tags"),1,","))'} Code:
{series:ifempty(non-series)} |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
save to disk template help | bilaly | Library Management | 2 | 10-19-2018 07:19 PM |
Update folders/file names after changing default save template. | JPKowal | Library Management | 7 | 01-24-2017 07:27 PM |
Can I use an IF statement in a Save template? | kelemvor | Library Management | 1 | 07-29-2016 07:05 PM |
Save Template Help | Maverynthia | Library Management | 10 | 05-19-2014 12:37 PM |
A little help with a save template...? | Belfaborac | Library Management | 2 | 02-04-2011 09:47 PM |