Skip to main content

resolve_current_episode

Function resolve_current_episode 

Source
pub async fn resolve_current_episode(
    repo: &dyn MediaRepository,
    series_id: &str,
) -> Result<Option<MediaItem>, RepoError>
Expand description

Resolve the current episode, fetching everything the policy needs.

Next Up and resume are best-effort: offline they fail or come back empty, and pick_current_episode has fallbacks for exactly that.