foo-webview-sdk
    Preparing search index...

    Interface MetadataWriteCompletePayload

    Payload of the metadata:writeComplete event. A tag write queued by metadata.write, metadata.writeBatch, metadata.removeTag or metadata.removeField finished. Every window receives it.

    interface MetadataWriteCompletePayload {
        code: number;
        operation: "write" | "removeTag";
        path: string;
        status: "error" | "aborted" | "success";
        subsong: number;
        success: boolean;
    }
    Index
    code: number

    foobar2000's completion code: 0 success, 1 aborted, 2 errors.

    operation: "write" | "removeTag"

    write for metadata.write and metadata.writeBatch, removeTag for metadata.removeTag and metadata.removeField.

    path: string

    The path as the call gave it, suffix included.

    status: "error" | "aborted" | "success"

    success, aborted or error, after code.

    subsong: number

    The subsong written: cueIndex when it is 0 or more, otherwise the one the path selects, otherwise 0.

    success: boolean

    true when code is 0.