Bug 450239

Summary: feature request: import book folder
Product: [Applications] tellico Reporter: Jessica <jess.jones.unitedkingdom>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: HEAD   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 4.0
Sentry Crash Report:

Description Jessica 2022-02-14 17:21:55 UTC
Hi

We can in the current version import a whole music folder, but not a whole book folder.
We can however import book by book by either:

- using "import pdf file"
- using drag and drop of the PDF file

I would like to request a feature to import a whole book folder. It reads all PDF, ... book files and imports them all.
Comment 1 Jessica 2022-02-14 21:30:57 UTC
For a book folder import, it would be usefull to also have a "recursive folder search" (as used in the "import audio file metadata")

It could also be usefull to have a message box appearing after the import saying how many files were imported.
Comment 2 Jessica 2022-02-18 18:23:04 UTC
*** Removed by KDE Sysadmin for violation of the KDE Community Code of Conduct ***
Comment 3 Robby Stephenson 2024-01-13 17:25:45 UTC
Git commit 2364de0f1d0dd6e77add78a5960ed5db544f6b6d by Robby Stephenson.
Committed on 13/01/2024 at 18:24.
Pushed by rstephenson into branch 'master'.

Add file reader for books

For now, the functionality is somewhat hidden within the File Listing
importer, and reads pdf and ebooks. Also switch the ebook importer to
use the same reader code.
FIXED-IN: 4.0

M  +1    -0    TODO
M  +1    -2    src/field.cpp
M  +3    -0    src/tests/CMakeLists.txt
M  +1    -0    src/translators/CMakeLists.txt
M  +16   -110  src/translators/ebookimporter.cpp
M  +37   -9    src/translators/filelistingimporter.cpp
M  +6    -1    src/translators/filelistingimporter.h
A  +203  -0    src/translators/filereaderbook.cpp     [License: GPL (v2/3)]
C  +14   -49   src/translators/filereaderbook.h [from: src/translators/filelistingimporter.h - 058% similarity]

https://invent.kde.org/office/tellico/-/commit/2364de0f1d0dd6e77add78a5960ed5db544f6b6d