Skip to main content

Interface: TrackChangeReads

Defined in: packages/player/src/state.ts:384

The file-scoped values the Player reads once when the playlist cursor moves.

A key is absent when mpv reported that property unavailable — which the reducer treats as honestly unknown (drop the field), never as unchanged. See ReducerContext.trackChange for why these are read at all.

Properties

duration?

readonly optional duration?: number;

Defined in: packages/player/src/state.ts:386

duration of the entry that just became current, in seconds.


seekable?

readonly optional seekable?: boolean;

Defined in: packages/player/src/state.ts:388

seekable for the entry that just became current.


title?

readonly optional title?: string;

Defined in: packages/player/src/state.ts:390

media-title of the entry that just became current.