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 06-26-2024, 04:53 PM   #1
BookieBlue
Junior Member
BookieBlue began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2023
Device: none
Question Calibre is sending 2 books to a different folder, not /BOOKS/ on my Kobo device

Hello!

I got a Kobo Glo a few days back and transferred my books from Calibre to the device using the "Send to device" option on Calibre. At first my books were sent to the root folder but I wanted to place them in the BOOKS folder so I deleted all of them and edited the template on both KoboTouch and KoboTouchExtended plugins as well as in the "Sending books to devices" option under Preferences to this:

Code:
BOOKS/{author_sort}/{title} - {authors}
Now most of my ~400 epub files end up in the BOOKS folder just as I want them, but 2 of them are sent to folders that Calibre is creating: BOKS and BS. Deleting both folders and sending the books again through Calibre makes those folder appear again.

What could be the cause of this behavior? I searched the forum but I couldn't find similar questions. I tried moving the content of both folders to the BOOKS one using the OS tools (Finder) but after the device finishes importing the books they get and error message. I suppose the device can't open the books because the database gets corrupted as I used moved the files without Calibre.

I hope you could help me with guidance on how to solve this. Thanks in advance!

–*BookieBlue

PS: I'm using Calibre 6.11 on MacOS Catalina (10.15.7). Both KoboTouch and KoboTouchExtended are updated (2.5.1 and 3.6.7 respectively). Attached picture to show both BOKS and BS folders.
Attached Thumbnails
Click image for larger version

Name:	Calibre BOKS - BS.png
Views:	95
Size:	29.5 KB
ID:	209171  
BookieBlue is offline   Reply With Quote
Old 06-26-2024, 05:01 PM   #2
BookieBlue
Junior Member
BookieBlue began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2023
Device: none
I noticed that both books have multiple authors (3 in this case) and the second author in both folders has his/her name chopped ("Barroeronica" should be Barros, Verónica for example). Could be the cause related to this?
BookieBlue is offline   Reply With Quote
Old 06-26-2024, 05:07 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: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
That says your filenames are too long and calibre is truncating to keep the total path/filename length below ~185 characters.

My solution to this issues was to truncate the author sort and authors to use only the first entry in the list when generating directory and filenames. For your BOOKS directory in the root, this would have you changing your template for send to device to:

Code:
BOOKS/{author_sort:sublist(0,1,&)}/{title} - {authors:sublist(0,1,&)}
A horrible example of a book that will break the maximum length without using that truncation is a book that my spouse read:

Frog Challenge Anthology [02] - 1001 Dark Nights Short Story Anthology 2020 - Fiona Archer & Louisa Bacio & Laura M. Baird & Kait Ballenger & Asa Maria Bradley & Eden Bradley & Boone Brux & C. G. Burnette & Cara Carnes & Caraway Carter & Sierra Cartwright & S. A. Clayton & Katana Collins & Janie Crouch & Patricia D. Eddy & Zoey Ellis & Zoe Hill & Sara L. Hudson & Tracey Jerald & A. D. Justice & Terri E. Laine & Michelle Mars & Gina L. Maxwell & Kayt Miller & Dani René & Gen Ryan & Blue Saffire & Ella Sheridan & Mayra Statham & Delancey Stewart & Jen Talty & Mary Ting & Reina Torres & Magan Vernon & Jennifer Woodhull & Khloe Wren

The filename that I send to her Libra 2 would be:
Elibrary/Archer, Fiona/1001 Dark Nights Short Story Anthology 2020 - Fiona Archer

The Series/series index is not part of the filename when sent to device since a Kobo ereader has the ability to display series information.
DNSB is offline   Reply With Quote
Old 06-26-2024, 05:29 PM   #4
BookieBlue
Junior Member
BookieBlue began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2023
Device: none
Thumbs up

For your BOOKS directory in the root, this would have you changing your template for send to device to:

Code:
BOOKS/{author_sort:sublist(0,1,&)}/{title} - {authors:sublist(0,1,&)}
Thanks for the quick reply! Your template code worked perfectly. Now both books are where they should be.

By the way, I made a loud chuckle when I read your spouse's book file name.
BookieBlue is offline   Reply With Quote
Old 06-26-2024, 08:33 PM   #5
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: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by BookieBlue View Post
By the way, I made a loud chuckle when I read your spouse's book file name.
My spouse likes all the author names in the metadata since she can then search for any books either by or contributed to by the author. calibre is happy enough to update all the authors into the ePub metadata so a Kobo ereader can import them.

The only time I worry about the physical filenames is when I am using either KOReader or Plato and, at least for KOReader, I can use the calibre metadata file for searching.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending books to Kobo (KOReader) from Calibre never shows as "on device" hecq KOReader 1 05-06-2024 03:52 PM
[Kobo] Sending multiple books to device : one error stops all CalibrePegasus Devices 6 01-06-2019 08:52 PM
Calibre sending books to on a device dhdurgee Devices 3 05-01-2016 03:20 AM
How do i prevent Calibre from converting when sending books to a device? DMcCunney Library Management 7 06-06-2014 05:56 PM
Calibre only sending some books to device raenedaz Calibre 25 05-17-2010 10:28 PM


All times are GMT -4. The time now is 11:32 AM.


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