YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.ChildPager Class Reference

Loads all the children of a folder page after page (owner, 2026-12-02): a server answers a Browse with a page of at most what it wants, often less than asked for (many cap at a few hundred), so the end of the folder is a page with nothing in it, not a short page. More...

Collaboration diagram for de.yaacc.upnp.ChildPager:
Collaboration graph

Classes

interface  PageSource
 Asks for one page of the children. More...
 
class  Result
 What was loaded and how it ended.
 

Static Public Member Functions

static Result loadAll (PageSource source, long start, long pageSize, long limit)
 Loads the children from start on, page after page, until the folder ends, a request fails or limit children are loaded.
 
static long count (DIDLContent content)
 The number of children of a loaded content: its containers and its items.
 

Detailed Description

Loads all the children of a folder page after page (owner, 2026-12-02): a server answers a Browse with a page of at most what it wants, often less than asked for (many cap at a few hundred), so the end of the folder is a page with nothing in it, not a short page.

Playing a folder needs every child, not the first batch that the screen showed. Pure logic: the page source is injected.

Member Function Documentation

◆ loadAll()

static Result de.yaacc.upnp.ChildPager.loadAll ( PageSource source,
long start,
long pageSize,
long limit )
static

Loads the children from start on, page after page, until the folder ends, a request fails or limit children are loaded.

Parameters
pageSizehow many children one request asks for (at least 1)
limitthe most children to load in total (at least 1)
Here is the call graph for this function:

The documentation for this class was generated from the following file: