ShelfPlayer icon indicating copy to clipboard operation
ShelfPlayer copied to clipboard

[Feature Request] Playback History Tracking

Open JoshStark opened this issue 1 year ago • 3 comments

Would it be possible for ShelfPlayer to keep track of playback history per audiobook? This would then allow for a timeline to be generated so I can see when I’ve listened to portions of a book, and for how long (start/end timestamps etc).

I’ve found this to be useful on occasion when losing my place. I can refer back to the history and skip back to a specific timestamp.

Something similar to how Prologue does it. As far as I know this kind of tracking isn’t supported natively in ABS or Plex (which Prologue uses) so I guess it’d need to be stored locally.

This is what Prologue looks like:

IMG_3558

JoshStark avatar May 02 '24 12:05 JoshStark

It would be possible to implement this with ABS listening session (your stats), but they only include start/stop, not play/pause. Do you think this would suffice or is there something important about play/pause?

rasmuslos avatar May 03 '24 11:05 rasmuslos

I think start/stop is probably close enough. I would expect if I pause long enough it would likely be classed as an end to that session anyway. I suspect the play/pause icons are used in the same way in Prologue because there isn’t really a way to “stop” playback other than pausing and closing the app, which is the same thing as in ABS/SP.

But yes, a display of my sessions, displayed somewhere on the audiobook view, would be great. Then I can easily track back to the last point if for any reason I lose my place.

JoshStark avatar May 03 '24 16:05 JoshStark

https://github.com/advplyr/audiobookshelf/pull/2920 is a prerequisite for this

rasmuslos avatar May 05 '24 11:05 rasmuslos