Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add playlist pagination support #615

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lifo9
Copy link

@lifo9 lifo9 commented Feb 11, 2024

Overview

Closes #586.
Adds support for playlist pagination.

  • Invidious
    Invidious API does not provide pagination data, only videoCount parameter in response.
    Moreover, I've found that it contains duplicities (probably a bug?).
    Thus, we can only try to fetch the next page, check if there are any videos present and if so, filter out duplicites.

  • PeerTube
    It uses count and start query parameters to set number of returned items and offset used to paginate the result.
    It also returns total - number of videos in playlist.

  • Piped
    Piped API uses nextpage query parameter for playlist pagination.

@lifo9 lifo9 changed the title Add playlist pagination support [WIP] Add playlist pagination support Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

100+ video support for playlists
1 participant