Skip to main content

## is_finished

# Function is_finished

Source

    fn is_finished(item: &MediaItem) -> bool

Expand description

Has the viewer reached the end of this episode?

The played flag is not enough. Nothing records completion locally — the stop report writes a position, and the cache mirror carries the server’s flag only on the next refresh — so within seconds of an episode ending the only local evidence that it is over is its position, parked at the very end of its runtime. Leaving the player with Back reloads the series page inside that window (DR-264).