foo-webview-sdk
    Preparing search index...

    Interface ArtistInfo

    One artist row of library.getArtists. albumCount counts album names, while albums keeps albums of the same name by different album artists apart, so the two can differ.

    interface ArtistInfo {
        albumCount: number;
        albums?: ArtistAlbumRef[];
        name: string;
        totalDuration: number;
        trackCount: number;
    }
    Index
    albumCount: number

    Distinct album names among the artist's tracks.

    albums?: ArtistAlbumRef[]

    The albums the artist is credited on, sorted by name and then artist; present only with includeAlbums, and never cut by limit.

    name: string

    The artist.

    totalDuration: number

    Summed length of those tracks, in seconds.

    trackCount: number

    Tracks the artist is credited on.