Skip to main content

## fetch_series_episodes

# Function fetch_series_episodes

Source

    pub async fn fetch_series_episodes(
        repo: &dyn MediaRepository,
        series_id: &str,
    ) -> Result<Vec<MediaItem>, RepoError>

Expand description

Every episode of a series, in series order.

Jellyfin hangs episodes off season folders, except for “flat” series whose children are episodes directly. Both shapes are provider vocabulary, so the fan-out and the fallback live here rather than in the frontend.