Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scan folder #71

Open
simonfossom opened this issue Jun 19, 2024 · 1 comment
Open

scan folder #71

simonfossom opened this issue Jun 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@simonfossom
Copy link

I can only presume I'm not the only digital first reader. Meaning all my books are in one folder and then sub-folder by category. I really like the layout and readability of NeverTooManyBooks (and the name ofc :) )

It would be great if the app could check the folder and add books by the best match.

And thanks for all the great work so far. Love it.

@tfonteyn
Copy link
Owner

thanks for the kind words :)

It's tricky to scan folders/files without any structured data. The question has come up before in #31. Please read through that one first.

I need (some) structured data to work with. Worst case scenario with folder-scanning is that you end up with the filenames as titles, and all of them under an unknown author. Granted I did think of the possible definition of the user giving the app a regular expression (rather limited to tech-savy users) to parse and dissect the filenames but I fear it will be error prone.

As mention in #37, I want to import epub files myself (and read their metadata) but it's lower on my todo list.

And don't forget, the data has to come from "somewhere" which for the internet searches really means a valid ISBN (or webcatalog) number.

In your case it might be feasible to generate a CSV file by cleverly using a dir/ls command. I'm fairly flexible in importing from CSV. Althought I really need to document it properly. If you fancy giving this a try, I can help out while documenting the format?

@tfonteyn tfonteyn added the enhancement New feature or request label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants