View Single Post
Old 07-10-2025, 02:59 PM   #22
edojan
Connoisseur
edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.edojan can tame squirrels without the assistance of a chair or a whip.
 
Posts: 68
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
Quote:
Originally Posted by chaley View Post
You have no control over calibre file names. There is no template you can set to control how calibre generates file names. Calibre can change a filename any time metadata changes.
Understood. Changes in metadata are disabled. This is not an issue.
Quote:
On the other hand, you can use the format_paths() template function to get the current library file path for a book's formats and use that when sending to your device. Of course this won't help with long path names.
I moved the library to a very short path:
Code:
C:\VAULTS\
This made no difference as Calibre keeps truncating the file names. E.g. the following book's name (as it appears in the metadata file) is
Code:
<dc:title>Исцеление духовных болезней</dc:title>
. Calibre adds this book to the library as
Code:
C:\VAULTS\CalibVault\Zhan-Klod Larshie\Istsielieniie dukhovnykh boliezniei (517)\Istsielieniie dukhovnykh boliez - Zhan-Klod Larshie.epub
The same book is transferred to the sage as:
Code:
E:\Zhan-Klod Larshie\Istsielieniie dukhovnykh boliezniei - Zhan-Klod Larshie.epub
The epub's file name is not the same. Calibre truncates it to
Code:
"Istsielieniie dukhovnykh boliez - Zhan-Klod Larshie.epub"
and on the device it appears as:
Code:
"Istsielieniie dukhovnykh boliezniei - Zhan-Klod Larshie.epub"
The difference is 4 characters. This screws up the file hash.

Last edited by edojan; 07-10-2025 at 03:01 PM.
edojan is offline   Reply With Quote