foo-webview-sdk
    Preparing search index...

    Interface ArtworkGetForTrackParams

    Parameters for artwork.getForTrack. Read a picture through the album art manager, which also finds folder covers, and measure it. width and height are read from the PNG header and are 0 for other formats. A file-relative:// path is refused with INVALID_PATH. A file that is only in the cloud and not yet downloaded is not opened and has no picture.

    interface ArtworkGetForTrackParams {
        path: string;
        type?:
            | "back"
            | "front"
            | "cover_front"
            | "cover_back"
            | "disc"
            | "icon"
            | "artist";
    }
    Index
    path: string

    Track path: native, file://, or with a |subsong:N suffix.

    type?:
        | "back"
        | "front"
        | "cover_front"
        | "cover_back"
        | "disc"
        | "icon"
        | "artist"

    Picture type.

    "front"