View Single Post
Old 12-08-2020, 02:53 PM   #16
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 731681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
A proof of concept metadata search shouldn't be too hard to whip up, on the basis of some simple stuff along these lines:

Code:
SELECT * FROM bookinfo WHERE filename REGEXP 'README.*'
The main problem is gathering the metadata and keeping it up to date. One time I was unable to use my H2O for *at least* 10 minutes after I unplugged its USB. That may be okay if you purposefully initiate a full scan, but otherwise…

Also see https://github.com/koreader/koreader/issues/6922

Edit: GLOB is supported out of the box, forget REGEXP.

Last edited by Frenzie; 12-08-2020 at 03:19 PM.
Frenzie is offline   Reply With Quote