tfonteyn / NeverTooManyBooks

A book collection app for Android
GNU General Public License v3.0
79 stars 5 forks source link

Import from file #31

Open PPECHENOT opened 10 months ago

PPECHENOT commented 10 months ago

Pleas can you add ability to search book files on device and import information from their name ? Thanks

tfonteyn commented 10 months ago

Just based on filename would be near impossible to get right.

I do have however an older idee on the backlist... scan for epub files (maybe more later) and read out the structured information in those files.

Watch this space next year :)

PPECHENOT commented 9 months ago

OK for epub files but my question was essentially for comics books in cbz and cbr format... Happy New Year !

tfonteyn commented 9 months ago

well, just using a filename is not totally impossible, but as the format of the name is not predictable, you would end up with the filename as the title, and the author set to 'unknown', which in my opinion is not very useful. But if you really want to do it... you can create a CSV (comma-seperated-values) file from the filenames. The absolute minimum would be single-column file:

First line are the headers, in your case simply "title" and then each title on a line on it's own. Any commas in the titles must be escaped with a \

If you're interested in doing this, let me know and I'll provide more detailed info.

I'm leaving this RFE open, as my intention for epub files is still valid although it will take a while