foo-webview-sdk
    Preparing search index...

    Interface ArtworkGetByPathParams

    Parameters for artwork.getByPath. Read a picture straight from the file at path with the album art extractor. The |subsong:N suffix is dropped, since pictures belong to the file; a file-relative:// path is refused with INVALID_PATH, because only a playlist row can resolve it. A file that is only in the cloud and not yet downloaded is not opened and has no picture.

    interface ArtworkGetByPathParams {
        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"