View Single Post
Old 06-16-2024, 06:45 PM   #10
hatuluang
Teluk Biru
hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.
 
hatuluang's Avatar
 
Posts: 154
Karma: 348662
Join Date: Jan 2023
Device: Kobo Clara 2E
Quote:
Originally Posted by birdbear View Post
Hey all, thanks to the hint by hius07, I was able to create a User Patch to accomplish what I was asking about in this thread.

For those interested, the User Patch can be found at:
https://gist.github.com/dagrha/f24f7...2af6425da99012

User Patches (and how to use them) are described here: https://github.com/koreader/koreader/wiki/User-patches

I'm sure my patch could be greatly improved by someone who knows Lua better than me, and with some clever sorting routines, filters, etc. But it works well for simply adding all books to the favorites collection.

Cheers!
Hi, thank you for the patch (2-mark_all_ebooks_as_favorite.lua).
I've managed to put it in Koreader/patches. The question is how to execute it?
TIA
hatuluang is offline   Reply With Quote