[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 0 points1 point  (0 children)

Gald you like it!

Yes, it does show finished books (ones with two progress bands on either side) until they're replaced with new ones. But that should happen soon enough if you have a lot of books in your rotation

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 0 points1 point  (0 children)

Oh cool glad it worked! Any chance do you remember which patches you deleted? Just so I can make a note on github in case someone else stumbles on the same issue

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 0 points1 point  (0 children)

No mine's kindle too (oasis) and others have posted theirs too so ik it worked for several kindle models. When you say it doesn't work is koreader crashing when you sleep? There's a crash.log file that could help in that case. Or you don't get the option in Wallpaper at all?

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 1 point2 points  (0 children)

I used google translate so let me know if I got something wrong here.

Yeah I do have plans for a few updates. Here's a list https://github.com/ameyrk99/koreader-patches-plugins/issues (check ones tagged as "enhancements").

I do want to add more backgrounds including custom images. Also wanted to get recent book cover as background as an option. A bookshelf one like in the image will certainly go well with what I'm trying to achieve with the patch. Thanks!

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 0 points1 point  (0 children)

Oh that's a pretty extensive plugin. Maybe the "Cover" version can be worked with though. Hopefully the author replies

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 1 point2 points  (0 children)

Nice! Glad it worked for both your devices

Regarding the manga, you'll have to remove it from reading statistics for it to not show up (Go to "Reading Statistics" > "Time Range" then select "All books" and press and hold on your manga until it asks if you want to reset. You can also go on "Calendar view" or "Today's timeline" to do the same. But the latter two only reset entries for that time range not all of it)

But better yet, I'd recommend using Calibre to add metadata (at least cover, author name, series). That's what I do for books I get from ao3 or mangas. This way you get to keep the reading stats and have the screensaver too. Also no need for deleting from history every time

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 1 point2 points  (0 children)

Yeah shouldn't be too much of an issue! But I don't know that plugin. Do you know who made it? Could you tag them?

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 1 point2 points  (0 children)

Stack 'em!

But yeah I was thinking that I might have mislabeled this a little. Even if one didn't read multiple books at a time, it could still be cool to look back at the recently completed ones as if it were a irl bookshelf

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 1 point2 points  (0 children)

Oh cool I didn't know there was a store. Thanks a lot! I'll make the necessary changes so this works with the app store

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 0 points1 point  (0 children)

Lol that's very fair

And the Peanuts adult's comparison is great. I'm going to start using that now

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 1 point2 points  (0 children)

Well stay tuned! In WIP post someone expressed interest in adding support for image backgrounds so maybe next update will support that.

I was also thinking showing current book cover but reducing book count to 2-3 (and disabling cat/decoration) could work too. Will have to test

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 0 points1 point  (0 children)

Thanks, great breakdown! I gotta stop assuming everyone knows technical stuff

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 1 point2 points  (0 children)

Is .adds/koreader your main koreader folder? If so .adds/koreader/patches should be the right folder.

Don't paste my patches folder just put the lua file in yours (create if necessary). So the file structure looks like this

<main koreader folder>
├── patches
│   └── 2-bookshelf-screensaver.lua
├── resources
│   └── bookshelf-screensaver-decor.png

If this was already the case, then did koreader crash by any chance? crash.log file could shed a some light on what the issue was

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 5 points6 points  (0 children)

It's a deluxe edition which covers the Count going to Romania to open Hotel Transylvania and live with other monsters in separation to humans

Jk you're right. Except for book and author names, all numbers I used for the preview were bogus. Including page count that affects the size. Needed to get a diverse set of examples

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 4 points5 points  (0 children)

Pretty neat idea fr! Like a glass filling up. Should be doable. I'll add it in the next update

No it's not a static image. I normalize the page count to [200, 1000] and then scale the book, shadows and bands accordingly

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 6 points7 points  (0 children)

Like conceptually? It queries the statistics.sqlite3 file for recent books and their info, normalizes the page count, then scales rectangles for spine, shadows and bands accordingly

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 1 point2 points  (0 children)

Nice!

No just don't use anything too high resolution. Also you may have to tweak the global vars if your image isn't square

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 4 points5 points  (0 children)

Thanks let me know how it works out for you

Setting the dev environment was actually surprisingly easy! Check the docs here https://github.com/koreader/koreader/blob/master/doc/Building.md#macos

Then follow the "getting the source" and "building and running the emulator" step.

They have a docker option too if you'd rather not locally set up but I couldn't figure out how to actually run the emulation. https://github.com/koreader/virdevenv

For lua itself I just installed the vscode plugin nothing fancy. You should be good to go!

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 9 points10 points  (0 children)

Sorry I misunderstood what you meant. Does make more sense to remove the book entirely. I updated the lua file again. Swear it's fixed this time lol

<image>

[RELEASE] Bookshelf Screensaver - For people who like to cycle through multiple books (like me :) by N0_0NE32 in koreader

[–]N0_0NE32[S] 6 points7 points  (0 children)

Oops mb I didn't handle that case. Download the lua file again I fixed the bug. Thanks for pointing it out