foo-webview-sdk
    Preparing search index...

    Interface DiscoveryExecuteContextMenuByPathParams

    Parameters for discovery.executeContextMenuByPath. Run a context-menu command addressed by its slash-separated label path, such as Playback Statistics/Rating/5. Each segment must match one label exactly after normalization (mnemonic &, trailing ellipsis, accelerator text and ASCII case are ignored). A path matching several commands is refused with INVALID_PARAMS and the candidates listed; one matching none is NOT_FOUND. Giving both trackPath and a target other than auto is INVALID_PARAMS.

    interface DiscoveryExecuteContextMenuByPathParams {
        path: string;
        target?: "auto" | "nowPlaying" | "selection" | "playlistSelection";
        trackPath?: string;
    }
    Index
    path: string

    Slash-separated label path of the command, such as Playback Statistics/Rating/5.

    target?: "auto" | "nowPlaying" | "selection" | "playlistSelection"

    Which tracks the command runs against when trackPath is absent.

    "auto"
    
    trackPath?: string

    Run against this track instead of the current target. A |subsong:N suffix selects a subsong; without one the first subsong of the file is used.