@@ -2097,45 +2185,46 @@ offset, countryCode: this.#countryCode, }, signal, openApiToken ); - return HiFiClient.#jsonResponse({ version: HiFiClient.API_VERSION, data: fallback }); + return HiFiClient.#jsonResponse({ version: HiFiClient.API_VERSION, data: parseOpenApiSearch(fallback) }); } const openApiToken = await this.getOpenApiToken(signal); + const includeAll = 'albums.artists,albums.coverArt,artists.profileArt,playlists.coverArt,tracks.albums,tracks.albums.coverArt,tracks.artists,videos.artists,videos.image'; const mapping: Array<[string | undefined, string, Params]> = [ [ q, `https://openapi.tidal.com/v2/searchResults/${encodeURIComponent(q || '')}`, { limit, offset, - include: 'albums,artists,tracks,videos,playlists,topHits', + include: includeAll, countryCode: this.#countryCode, }, ], [ s, `https://openapi.tidal.com/v2/searchResults/${encodeURIComponent(s || '')}`, - { limit, offset, include: 'tracks', countryCode: this.#countryCode }, + { limit, offset, include: includeAll, countryCode: this.#countryCode }, ], [ a, `https://openapi.tidal.com/v2/searchResults/${encodeURIComponent(a || '')}`, - { limit, offset, include: 'artists,tracks', countryCode: this.#countryCode }, + { limit, offset, include: includeAll, countryCode: this.#countryCode }, ], [ al, `https://openapi.tidal.com/v2/searchResults/${encodeURIComponent(al || '')}`, - { limit, offset, include: 'albums', countryCode: this.#countryCode }, + { limit, offset, include: includeAll, countryCode: this.#countryCode }, ], [ v, `https://openapi.tidal.com/v2/searchResults/${encodeURIComponent(v || '')}`, - { limit, offset, include: 'videos', countryCode: this.#countryCode }, + { limit, offset, include: includeAll, countryCode: this.#countryCode }, ], [ p, `https://openapi.tidal.com/v2/searchResults/${encodeURIComponent(p || '')}`,