View Single Post
Old 06-10-2025, 07:31 PM   #53
thebeginning
Junior Member
thebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enoughthebeginning will become famous soon enough
 
Posts: 6
Karma: 590
Join Date: Jan 2021
Device: PW4
Surprised to see it's still going.

Quote:
Originally Posted by Hubris View Post
P.S. It would be amazing if you could enhance the UI by adding more controls—like the ability to choose a specific recording or browse through folders. This would make it much easier to jump to a particular audiobook or chapter, streamlining the listening experience for users who have a large library.
It actually could be done, when the solution is found for older fw versions I'll try to remember to make an update that will make working with individual files easier. I can't remember why exactly didn't I do this in the first place, but it could be just too much for KUAL and was dropped during testing.

Anyway, I've been thinking about adding an interface into overlay somehow, my best idea is to make it either a plugin for KOReader (if it's even possible, never used it), or to use LIPC and show the interface on an event. Or even make a separate app for audiobook listeners.

I've managed to track down useful events for those who might wish to try it before I have a chance. I've not been able to find an event that is triggered for the main menu, but the book overlay and the "crown" (which is status bar probably) is these two in com.lab126.winmgr:

Code:
titleBarVisiblityChange "invisible"
chromeVisiblityChange "chromeDown"
So one can subscribe to them like this:

Code:
lipc-wait-event -m com.lab126.winmgr titleBarVisiblityChange,chromeVisiblityChange
and track whether the overlay is open or not.

To find the actual menu event it would help to do:

Code:
lipc-probe -a
# get a lot of possible interfaces
# for each of them do
lipc-wait-event -m {interface} "*"
# lipc-wait-event -m com.lab126.winmgr "*"
# and try to open the menu
but it's a lot and obvious places didn't give me much.
thebeginning is offline   Reply With Quote