![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
Filename template bug?
Calibre allows you to specify a template for how files are saved to an ereader. I use Kobo ereaders and I also have a column configured to as the collection of a book, so I modified the template as follows:
Code:
{#collection}/{author_sort}/{title} - {authors} Code:
chess chss coming ecoics econmics economics meir memoir military self-imovement Last edited by stasiana; 11-23-2023 at 02:02 PM. |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Maybe you have a typo in some of the collection names.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
No, I don't. I can see in the Calibre collection pulldown that everything is correct.
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
I have already double checked, triple checked, that it is not due to content. I've used the collection names for years, loaded into the Kobo as actual names of the collections.
These are not typos and these are not left-over files on the device. I wouldn't call them typos because I definitely did not type these ever. The device was factory reset just prior to my posting. I changed the template and synced. I watched these folders get created by Calibre on the device mangled. I went back and looked at the individual books and in the Calibre library they are correctly named. Unless Calibre has these mangled strings in its database that is not shown in the UI, it is mangling them upon sending the books to the device. |
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
Interesting, upon further investigation, when it mangles the collection directory name, it also mangles the author directory name. But it does not mangle the epub filename itself. Definitely a bug in the app.
|
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,067
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Your pathnames are being shortened to comply with all OS limits (AKA Windows)
|
![]() |
![]() |
![]() |
#8 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
Quote:
The shortening behavior is very counterintuitive. Directories are meant to organize and shouldn't be mangled. It doesn't help to have "chess", "chss", and "cs". The filenames, on the other hand, can be since usually the title/author metadata is displayed on the ereader instead of the filename anyway. Can this behavior be changed? |
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,485
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Why do you need collections as directories on your Kobo? For KOReader?
|
![]() |
![]() |
![]() |
#10 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,288
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You might also want to change your template to shorten the author-sort and author fields. What I use is Elib/{author_sort:sublist(0,1,&)}/{title} - {authors:sublist(0,1,&)} where the sublistsublist(0,1,&) shortens the field to the first author name.
As for adding the collection name to the file path, since you mention the title/author metadata being displayed, why not simply add the books to a collection set in metadata on your Kobo ereader. See the second tab of the KoboTouch/KoboTouchExtended driver for the collections configuration. |
![]() |
![]() |
![]() |
#11 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
Quote:
I want to do this so that I can make sense of the books when viewing the directories. KOReader also. |
|
![]() |
![]() |
![]() |
#12 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,288
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#13 | |||
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
This happened to me a few years ago:
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save Template, is appending one tag to a filename possible? | chrisric | Library Management | 5 | 04-29-2023 12:52 PM |
Request: Match Calibre Filename template recipe | cbook7 | Library Management | 10 | 06-05-2020 05:11 AM |
Download Filename Template? | nqk | Server | 2 | 06-02-2020 04:19 AM |
Change filename template in Calibre's library | 8140david | Library Management | 3 | 09-25-2016 11:39 AM |
filename template feature | artbatista | Calibre | 0 | 08-23-2009 01:05 PM |