foo-webview-sdk
    Preparing search index...

    Interface LibraryGetAlbumTracksSuccess

    Successful response from library.getAlbumTracks.

    interface LibraryGetAlbumTracksSuccess {
        album: string;
        albumArtist: string;
        items: LibraryTrack[];
        row?: AlbumInfo;
        success: true;
        total: number;
        tracks: LibraryTrack[];
    }
    Index
    album: string

    The album name, as given.

    albumArtist: string

    The album artist, as given.

    items: LibraryTrack[]

    The same list as tracks.

    row?: AlbumInfo

    The album's row as library.getAlbums returns it, without coverDataUrl and tracks; absent when no row has this name and album artist.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.

    total: number

    Number of tracks.

    tracks: LibraryTrack[]

    The tracks, sorted by disc number, then track number, then library order; index is the position in this list.