@vestra-player/sdk - v1.11.3
    Preparing search index...

    Interface OsdAction

    One button at the end of an OSD message (Osd.show).

    1.6.9

    interface OsdAction {
        title: TextValue;
        command: string;
    }
    Index
    title: TextValue

    The button's label: English source text the player translates with the plugin's catalog, or a Text; 1–40 characters once translated (OSD_LIMITS.actionChars). A verb, as on a menu item: "Show in Folder", "Copy", "Undo".

    command: string

    The local id of one of this plugin's own commands (CommandOptions.id), declared when the message is shown. A click runs it as if the user picked it from a menu: a disabled command does nothing. The command takes no arguments, so it acts on what the plugin remembers (the file it just saved).