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...
|
| interface | PageSource |
| | Asks for one page of the children. More...
|
| |
| class | Result |
| | What was loaded and how it ended.
|
| |
|
| 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.
|
| |
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.
◆ 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
-
| pageSize | how many children one request asks for (at least 1) |
| limit | the most children to load in total (at least 1) |
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/upnp/ChildPager.java