Fastest way to query calibre database
Hello there!
I'm a new user of calibre who's getting into it to organise my collection of books (mainly pdfs) and I was wondering what was the best way to query the database? I've been wanting to make a small shell script that gets the titles of all books in the calilbre database (for a drun like selection menu before opening their files in zathura) and wondered what was the fastest way to do it? I'm currently getting them all with `calibredb list -f title` sometimes with an extra `--with-library` command while calibre itself is running, but I was wondering if anyone else had some faster suggestions? Currently it's taking 0.3-0.4 second per query and gives noticeable lag when trying to load up the drun replacement I have (tofi).
Thank you all for your help!
shadowstone
|