Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2022, 08:07 AM   #16
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Colonel Cathcart View Post
Thank you, davidfor. Indeed, you did give me the right answer.

Is the 185 character limit to the path the only restriction? No additional restriction regarding the file name length? (obviously there are other restrictions regarding illegal characters).
And regarding to path, what, exactly, does that include? Take for example:
Code:
C:/Books/Hastie, Trevor & Tibshirani, Robert & Friedman, Jerome/The Elements of Statistical Learning: Data Mining, Inference, and Prediction, Second Edition
Is the "C:/" part counted towards that 185 character limit?

The reason I ask is that I'd like to write something a bit more robust and need a clear understanding what's going on under the hood.
The 185 characters limit is the only restriction I can think of. It will include the drive and the extension.

For the characters used, calibre will sanitize the path after it has been generated. That replaces replaces accented characters and similar with their equivalents. And replaces other illegal characters with an underscore. And Kobo has a couple of characters that shouldn't be used that are handled as well.
davidfor is offline   Reply With Quote
Old 01-26-2022, 11:04 AM   #17
Moonbase59
Groupie
Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.Moonbase59 can program the VCR without an owner's manual.
 
Moonbase59's Avatar
 
Posts: 167
Karma: 196896
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
Quick note to Tolino users: Be aware that the Tolinos only show (and sort by) one author—unfortunately the last one!

Learned this the hard way and had to change my device save template accordingly, to at least find the book again. Sigh.

(Observed this in firmware versions 14.2.0 up to and including 15.2.0.)
Moonbase59 is online now   Reply With Quote
Advert
Old 01-27-2022, 01:40 AM   #18
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: 10,974
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by DNSB View Post
I ran into the shortened path issue years back with an anthology that listed 42 authors in the authors list. It made for a rather interesting entry in my library.
I ran into the issue with a fanfic with multiple lengthy author names resulting in a K:\Fanion\ folder appearing on my device. The entire path, if untruncated, would've been 205 characters. Using sublist shortened it down nicely to 156.

Quote:
Originally Posted by davidfor View Post
For the characters used, calibre will sanitize the path after it has been generated. That replaces replaces accented characters and similar with their equivalents. And replaces other illegal characters with an underscore. And Kobo has a couple of characters that shouldn't be used that are handled as well.
It's possible to bypass the sanitizing of illegal characters like this:

Code:
{#kobopath:re(_,/)}
You'll want to be careful with it; I think the only character that's truly safe is "/" to create subdirs.

Last edited by ownedbycats; 01-27-2022 at 01:58 AM.
ownedbycats is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom metadata not being written consistently to device. alyshadeshae Library Management 6 01-07-2013 06:03 PM
Books going to wrong place on Fire Roughrider64 Devices 2 01-23-2012 10:50 AM
Bug Report: Mobi Conversion puts TOC Nav in wrong spot therealjoeblow Conversion 4 12-02-2011 09:56 AM
Send New Books To Device StuBFrost Calibre 11 06-04-2010 04:45 PM
Copying new books to device loses my place in the book I'm currently reading? Miker2k Calibre 1 09-14-2009 01:13 PM


All times are GMT -4. The time now is 03:41 AM.


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