foo-webview-sdk
    Preparing search index...

    Interface LibraryGetAlbumTracksParams

    Parameters for library.getAlbumTracks. The tracks of one library.getAlbums row, named by the row's name and albumArtist. Tracks are grouped exactly as library.getAlbums groups them, so total equals the row's trackCount. They are sorted by disc number, then track number, then library order. The grouping is kept until the library changes and library.getAlbums builds and reads the same one, so a call after it, or after an earlier call, does not read the library again. A name and album artist that no row has, and a disabled library, succeed with no tracks and no row. Pass the row's albumId as well when present; it takes precedence over the names. A malformed ID fails with INVALID_PARAMS and details.param albumId.

    interface LibraryGetAlbumTracksParams {
        album: string;
        albumArtist: string;
        albumId?: string;
    }
    Index
    album: string

    The row's name: the first album value of its tracks, compared byte for byte.

    albumArtist: string

    The row's albumArtist: the first album artist value of its tracks, or their first artist value when they have no album artist, or "" when they have neither. Compared byte for byte, so the row's artist is not a substitute.

    albumId?: string

    The row's opaque album identity. When provided, it takes precedence over both names; empty or malformed strings fail rather than falling back to a name lookup. As for other optional parameters, JSON null is treated as omitted.