advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
5.74k stars 395 forks source link

[Enhancement]: Sort library by date last listened/date completed #1215

Open hobesman opened 1 year ago

hobesman commented 1 year ago

Describe the feature/enhancement

Currently we can filter by status (finished, unfinished, started, not started) but we can't sort by anything related to progress status.

I'd like to be able to sort by date last listened. And related to that, it might make sense to sort by percentage completed or possibly raw time remaining or something.

Just some other ideas, but the main one I would like is the date last listened and/or date completed.

Dr-Blank commented 2 months ago

it seems api already exists, adding sort=progressLastUpdate should work

https://api.audiobookshelf.org/#get-a-library-39-s-items