View Single Post
Old 02-28-2025, 05:38 PM   #11
PetBest
Enthusiast
PetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toysPetBest shares his or her toys
 
Posts: 41
Karma: 5658
Join Date: Jun 2022
Device: Kobo Libra 2
Thank you for sharing.
I tested it on my Android.
I got for each book a collection. Reason the file structure was:
title - author (calibre id).epub
Like: Raven - A.C.Writer (678).epub

But I had also a subfolder with author - title.epub.
The books came from various sources.
So it had to strip author like:

if author then
return author:gsub("%s+%((.-)$", "") -- Trim trailing spaces


It should be possible to show a Busy...please wait popup at the start, so you see that the process is ongoing.

BTW: some plus more of these features will be build in the core
see here: https://github.com/koreader/koreader...ent-2690334308
PetBest is offline   Reply With Quote