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

    Type Alias PlaystateRequest

    A request to change the playstate of a session.

    type PlaystateRequest = {
        Command?:
            | "Stop"
            | "Pause"
            | "Unpause"
            | "NextTrack"
            | "PreviousTrack"
            | "Seek"
            | "Rewind"
            | "FastForward"
            | "PlayPause";
        SeekPositionTicks?: number
        | null;
        ControllingUserId?: string | null;
    }
    Index
    Command?:
        | "Stop"
        | "Pause"
        | "Unpause"
        | "NextTrack"
        | "PreviousTrack"
        | "Seek"
        | "Rewind"
        | "FastForward"
        | "PlayPause"

    Gets or sets the playstate command.

    SeekPositionTicks?: number | null

    Gets or sets the seek position in ticks.

    ControllingUserId?: string | null

    Gets or sets the controlling user identifier.