altescy / bookshelf

📓 Ebook management system with S3 compatible storage which provides OPDS feed.
https://hub.docker.com/r/altescy/bookshelf
MIT License
49 stars 4 forks source link

"Invalid ISBN" might not be correct #8

Closed ckuethe closed 1 year ago

ckuethe commented 3 years ago

openbd doesn't have a lot of books in the database. Out of ~1600 books in my library, less than 30 were found. The ISBNs validated correctly with isbnlib, and have metadata in other sources.

This diff updates the message to just say "not found" since opendb returns [null] for both "thisisnotanisbn" and for a valid isbn that is not found.