Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 03-27-2023, 03:37 PM   #1
stefer
Junior Member
stefer began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2023
Device: KPW3
Strange behaviors on save templates

I'm trying to get calibre to save books into a subfolder on a kobo device for better organization. Since the default is saving everything into the root folder, I have modified the save template to "/documents/{author_sort}/{title} - {authors}". However, this seems to have some very weird side effects, where some books will be saved to the "documents" folder, but others seems to be going to a folder called "docuents" instead.

Edit: "/documents/{title} - {authors}" seems to work fine even with previously problematic books.


My apologies if this is a dumb question and I'm missing something obvious, but does anyone know why my save template is causing this strange behavior, and how I can fix this?

Last edited by stefer; 03-27-2023 at 03:42 PM.
stefer is offline   Reply With Quote
Old 03-27-2023, 05:55 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,784
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Looks like something is shortening the path

Do you have long file names e.g titles with long straplines e.g.

Building a Shed: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah - Joe Blow

Or two storeys of authors - as might be found in an anthology, or a medical journal paper.

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-27-2023, 06:34 PM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 38,132
Karma: 152037714
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
What I have been using for my save to device template is:

Elib/{author_sort:sublist(0,1,&)}/{title} - {authors:sublist(0,1,&)}

Basically in the root there is a directory called Elib, inside it are directories that are created from the first author sort (lastname, firstname) followed by the title with the first author name (firstname lastname) appended.

So Elib/Simonson, Mark/The Dark Heart of Time - Mark Simonson

Due to anthologies, I found that I was getting filename truncation so this helped. Since I use Kobo ereaders, I also moved any text after the book title that I wanted to keep into a subtitle field which is send to my Kobos as part of the metadata.
DNSB is offline   Reply With Quote
Old 03-30-2023, 04:49 PM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,064
Karma: 62040591
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by BetterRed View Post
Looks like something is shortening the path

Do you have long file names e.g titles with long straplines e.g.

Building a Shed: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah - Joe Blow

Or two storeys of authors - as might be found in an anthology, or a medical journal paper.

BR
At least for KoboTouch (and Extended), the maximum path length is 185 characters. I once had it lop off the beginning of the path during truncation.

A similar case some months later with a long title is also why I created a #subtitle column for the straplines.

Last edited by ownedbycats; 03-30-2023 at 04:54 PM.
ownedbycats is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove unneeded Save Templates Tanjamuse Library Management 10 01-23-2020 02:18 AM
different save templates in my device maqueca Calibre 2 05-05-2019 06:49 PM
Multiple save to disk templates? fidvo Library Management 5 03-10-2014 05:38 PM
Multiple 'save to disc' templates? redscarlett Library Management 12 09-09-2013 12:43 PM
How to remove unwanted Save-to-disk templates alexmobile Calibre 5 02-22-2012 05:54 AM


All times are GMT -4. The time now is 03:06 PM.


MobileRead.com is a privately owned, operated and funded community.