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

    Type Alias GroupStateUpdate

    Class GroupStateUpdate.

    type GroupStateUpdate = {
        State?: "Idle" | "Waiting" | "Paused" | "Playing";
        Reason?:
            | "Play"
            | "SetPlaylistItem"
            | "RemoveFromPlaylist"
            | "MovePlaylistItem"
            | "Queue"
            | "Unpause"
            | "Pause"
            | "Stop"
            | "Seek"
            | "Buffer"
            | "Ready"
            | "NextItem"
            | "PreviousItem"
            | "SetRepeatMode"
            | "SetShuffleMode"
            | "Ping"
            | "IgnoreWait";
    }
    Index
    State?: "Idle" | "Waiting" | "Paused" | "Playing"

    Gets the state of the group.

    Reason?:
        | "Play"
        | "SetPlaylistItem"
        | "RemoveFromPlaylist"
        | "MovePlaylistItem"
        | "Queue"
        | "Unpause"
        | "Pause"
        | "Stop"
        | "Seek"
        | "Buffer"
        | "Ready"
        | "NextItem"
        | "PreviousItem"
        | "SetRepeatMode"
        | "SetShuffleMode"
        | "Ping"
        | "IgnoreWait"

    Gets the reason of the state change.