Tsarr Documentation - v2.16.0
    Preparing search index...

    Type Alias PlayerStateInfo

    type PlayerStateInfo = {
        PositionTicks?: number | null;
        CanSeek?: boolean;
        IsPaused?: boolean;
        IsMuted?: boolean;
        VolumeLevel?: number | null;
        AudioStreamIndex?: number | null;
        SubtitleStreamIndex?: number | null;
        MediaSourceId?: string | null;
        PlayMethod?: "Transcode" | "DirectStream" | "DirectPlay";
        RepeatMode?: "RepeatNone" | "RepeatAll" | "RepeatOne";
        PlaybackOrder?: "Default" | "Shuffle";
        LiveStreamId?: string | null;
    }
    Index
    PositionTicks?: number | null

    Gets or sets the now playing position ticks.

    CanSeek?: boolean

    Gets or sets a value indicating whether this instance can seek.

    IsPaused?: boolean

    Gets or sets a value indicating whether this instance is paused.

    IsMuted?: boolean

    Gets or sets a value indicating whether this instance is muted.

    VolumeLevel?: number | null

    Gets or sets the volume level.

    AudioStreamIndex?: number | null

    Gets or sets the index of the now playing audio stream.

    SubtitleStreamIndex?: number | null

    Gets or sets the index of the now playing subtitle stream.

    MediaSourceId?: string | null

    Gets or sets the now playing media version identifier.

    PlayMethod?: "Transcode" | "DirectStream" | "DirectPlay"

    Gets or sets the play method.

    RepeatMode?: "RepeatNone" | "RepeatAll" | "RepeatOne"

    Gets or sets the repeat mode.

    PlaybackOrder?: "Default" | "Shuffle"

    Gets or sets the playback order.

    LiveStreamId?: string | null

    Gets or sets the now playing live stream identifier.