audiobookshelf
audiobookshelf copied to clipboard
Added location slider to Epub reader
This pull request adds a location trackbar and bookmarks for EPUBS.
To minimize code changes, the audiobook trackbar was slightly modified to remove audio-only features when used for books,
Instead of using time to represent position in audiobooks, book position is represented by the percentage. To convert this to pages, the 'playback rate' is set to 1 / total_pages
.
Does this cover up the audio player if the audio player is open?
Does this cover up the audio player if the audio player is open?
It looks like it trackbars are on top of each other, I can try messing around with formatting for a bit
Does this cover up the audio player if the audio player is open?
Fixed!
Bookmarks might actually be a bit premature, I'll take a look at making it less of a bodge first
I'm looking at this now and I think it is actually better to not use the existing PlayerUI and duplicate it into its own component. That PlayerUI is already pretty cluttered and a lot of that logic isn't necessary for the reader.