LeoKlaus / plappa

An Audiobook client for Jellyfin and AudioBookShelf, written in Swift/SwiftUI.
https://plappa.me
237 stars 1 forks source link

[Feature Request] Remove books that are marked as `hideFromContinueListening` from "Where you left off…" #179

Open justcallmelarry opened 3 months ago

justcallmelarry commented 3 months ago

Issue

If you have a book that you have listened to, but not finished, and then click the hamburger menu in the ABS web app, choosing "Remove from Continue Listening", this will remove it from being listed in the web UI from ongoing books.

It is still showing in the app, though.

image

Possible solutions

If you are using the mediaProgress array from the /api/authorize endpoint, you should be able to filter out anything that has hideFromContinueListening == true (in addition to the current selection)

Otherwise the /api/libraries/<library-id>/personalized endpoint has a continue-listening object with an array in it with the things that go into "Continue Listening" on the web and the first party apps, so that one could be used as well. (Also includes continue-series, and recently-added. Among other things)