foo-webview-sdk
    Preparing search index...

    Interface TitleformatEvalFieldsParams

    Parameters for titleformat.evalFields. Evaluate several named patterns against one track in a single pass. The patterns are compiled as one script, so a pattern that fails to compile does not fail the call: the result then has no field keys and no infoAvailable, unlike titleformat.evalFieldsBatch, which fails with INVALID_PARAMS.

    interface TitleformatEvalFieldsParams {
        fields: Record<string, string>;
        path: string;
    }
    Index
    fields: Record<string, string>

    Map from output key to title formatting pattern, such as { "year": "$year(%date%)" }.

    path: string

    Path of the track to evaluate against; a |subsong:N suffix selects a subsong.