foo-webview-sdk
    Preparing search index...

    Interface LibraryGetArtistAlbumsParams

    Parameters for library.getArtistAlbums. The albums an artist appears on. trackCount, duration and discCount count only the tracks of this artist, so an album the artist appears on only partly reports smaller figures than in library.getAlbums. Rows are grouped by album name alone; tracks without an album tag fall under (Unknown Album). Fails with LIBRARY_DISABLED when the library is disabled.

    interface LibraryGetArtistAlbumsParams {
        artist: string;
        limit?: number;
        match?: "substring" | "exact";
        sort?: string;
    }
    Index
    artist: string

    Artist name, compared byte for byte against each value of the artist tag, so a name from library.getArtists matches even when it is not the first of several credited artists.

    limit?: number

    Most albums to return, applied after grouping; there is no offset.

    100
    
    match?: "substring" | "exact"

    exact needs a whole tag value to equal artist; substring matches a tag value that contains it, and then a lowercase letter in artist matches either case while an uppercase one matches only uppercase.

    "exact"
    
    sort?: string

    name, artist, year or trackCount, as in library.getAlbums; any other value sorts by name.

    "name"