Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-14-2022, 02:45 PM   #1
Buhaj47
Zealot
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 147
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
Include hyphens only in some file names

Currently I am saving files like this to my device so KOReader sees them in correct order:

Code:
{author_sort:.1}/{author_sort}/{series}/{series_index:0>4.1f} - {title}
Issue is whenever a book is not part of a series, the title starts with a hyphen. Can I adjust the file path so that the hyphen is only included along with the series index number?
Buhaj47 is offline   Reply With Quote
Old 05-14-2022, 03:03 PM   #2
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: 35,461
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Buhaj47 View Post
Currently I am saving files like this to my device so KOReader sees them in correct order:

Code:
{author_sort:.1}/{author_sort}/{series}/{series_index:0>4.1f} - {title}
Issue is whenever a book is not part of a series, the title starts with a hyphen. Can I adjust the file path so that the hyphen is only included along with the series index number?
I think the following should work for what you want:

Code:
{author_sort:.1}/{author_sort}/{series}/{series:| |}{series_index:0>5.2f| | - }{title}
DNSB is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin Devs: Should we include a License or COPYING file? KevinH Plugins 3 08-15-2017 01:09 PM
File Names g0rg0n Calibre 6 09-14-2014 02:05 AM
File names in File explorer vvilmos Onyx Boox 5 10-05-2012 07:40 AM
Save file include jpeg RandallFlagg Calibre 3 02-10-2009 11:11 PM
File Names Vulcan Sony Reader 4 01-02-2009 04:03 PM


All times are GMT -4. The time now is 10:26 PM.


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