foo-webview-sdk
    Preparing search index...

    Interface MetadataProbeResultItem

    The result of probing one path.

    interface MetadataProbeResultItem {
        failure?: "not-found" | "unsupported-format" | "read-error";
        info?: TrackTechnicalInfo;
        infoSource: "direct" | "none" | "cached";
        path: string;
        success: boolean;
        tags?: Record<string, JsonValue>;
    }
    Index
    failure?: "not-found" | "unsupported-format" | "read-error"

    Why the path was not read; present when success is false.

    Technical info of the track, as in metadata.read; present when success is true.

    infoSource: "direct" | "none" | "cached"

    cached when the host's complete cached info was used, direct when the file was read, none with a failure.

    path: string

    The path as requested, |subsong:N included.

    success: boolean

    Whether the track was read.

    tags?: Record<string, JsonValue>

    The flat fields of the track, as includeTags describes; present when success is true and the call did not pass includeTags: false.