Skip to content

Pagination is recommended in the doc, but nowhere is it stated how it should be used #16

Open

Description

@IKIKN

Hi,

I'm currently trying to update my code after an update of this library broke many things, which is understandable since the docs states that it can happen.

I'm trying to use the ListPlaybackHistoryAsync() method, but the doc says that pagination should be used, which I obviously agree with. But nowhere is it stated HOW it should be used.

I hope the idea is not to get all the history and then manually filter the results, because it would create a really heavy request on the server.

Before, I was able to pass the "X-Plex-Container-Start" parameter to paginate my request, but I cannot figure how to do it now.

What can I do?

Thanks!

Activity

  1. IKIKN commented on Feb 2, 2026

    @IKIKN
    Author

    Also, before, I got the data I need with the method "plexApi.Sessions.GetSessionHistoryAsync", am I correct to replace it with "ListPlaybackHistoryAsync" ? Because many metadata have disappeared with this method (GrandparentTitle, ParentIndex, ParentKey, ...). How can I get them back?

    Thanks!

  2. added
    documentationImprovements or additions to documentation
    questionFurther information is requested
    on May 18, 2026
  3. LukasParke commented on May 18, 2026

    @LukasParke
    Owner

    Thanks for reporting this — triaging as question + documentation.

    This issue has been inactive for >90 days. Could you confirm whether this still happens on the latest version, and share a minimal reproducible snippet showing how you're calling ListPlaybackHistoryAsync for paging?

    If still reproducible, we can use that to improve pagination docs and clarify SessionHistory -> ListPlaybackHistoryAsync migration behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions