foo-webview-sdk
    Preparing search index...

    Interface ArtworkGetByPlaylistItemParams

    Parameters for artwork.getByPlaylistItem. Read the picture of a playlist row through the album art manager. A negative playlist means the active playlist and a negative index means the first row. A row past the end, an empty playlist included, fails with NOT_FOUND. A playlist index past the last playlist fails with INVALID_INDEX, a playlistGuid no playlist has with NOT_FOUND, and no active playlist when the active one is meant with NO_ACTIVE_ITEM. A row without the picture is a success with available false; so is a row whose file is only in the cloud and not yet downloaded, which is not opened.

    interface ArtworkGetByPlaylistItemParams {
        index?: number;
        playlist?: number;
        playlistGuid?: string;
        type?:
            | "back"
            | "front"
            | "cover_front"
            | "cover_back"
            | "disc"
            | "icon"
            | "artist";
    }
    Index
    index?: number

    Row index; negative for the first row.

    -1
    
    playlist?: number

    Playlist index; negative for the active playlist. An index past the last playlist fails with INVALID_INDEX.

    -1
    
    playlistGuid?: string

    Persistent unique identifier of a playlist (bracketed GUID, case-insensitive), used in place of a mutable index. Mutually exclusive with playlist; passing both or an invalid format fails with INVALID_PARAMS. Fails with NOT_FOUND if the playlist does not exist, never falling back. Invalid-format and not-found failures return the given GUID in details.playlistGuid.

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

    Picture type.

    "front"