foo-webview-sdk
    Preparing search index...

    Interface TitleformatEvalSuccess

    Successful response from titleformat.eval.

    interface TitleformatEvalSuccess {
        infoAvailable: boolean;
        path: string;
        pattern: string;
        result: string;
        success: true;
    }
    Index
    infoAvailable: boolean

    false when the host could not get the track's info (a remote path with nothing cached, or a file that cannot be read), so tag-derived output is untrustworthy. A local file that foobar2000 has not loaded is read from disk and reports true. Does not cover foo_playcount fields such as %rating%.

    path: string

    The path that was evaluated; the playing track's path when the request gave none.

    pattern: string

    The pattern that was evaluated.

    result: string

    Formatted text.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.