fn build_latest_items_endpoint(
user_id: &str,
parent_id: &str,
limit: Option<usize>,
) -> StringExpand description
Build the Jellyfin endpoint for a “recently added” listing.
GroupItems=true is the load-bearing parameter: Jellyfin defaults it to
false, which returns each newly-added leaf separately, so importing one
14-track album pushed 14 rows into “recently added” and buried everything
else. With grouping on, the server collapses children into the container
that was added — an album appears once, while movies (which have no such
container) are unaffected.
Pulled out of get_latest_items so the query can be asserted without an
HTTP server, matching build_favorites_endpoint.
TRACES: UR-024, UR-034 | IR-024, JA-016