NeverTooManyBooks icon indicating copy to clipboard operation
NeverTooManyBooks copied to clipboard

Import from file

Open PPECHENOT opened this issue 2 years ago • 3 comments

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

PPECHENOT avatar Dec 30 '23 06:12 PPECHENOT

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 :)

tfonteyn avatar Dec 30 '23 14:12 tfonteyn

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

PPECHENOT avatar Jan 02 '24 06:01 PPECHENOT

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

tfonteyn avatar Jan 02 '24 16:01 tfonteyn