diff --git a/src/renderer/api/subsonic.api.ts b/src/renderer/api/subsonic.api.ts index c7c69d8f..ff2aca77 100644 --- a/src/renderer/api/subsonic.api.ts +++ b/src/renderer/api/subsonic.api.ts @@ -39,11 +39,11 @@ import { GenreListArgs, LibraryItem, MusicFolderListArgs, + QueueSong, RatingArgs, RatingResponse, ServerListItem, ServerType, - Song, TopSongListArgs, } from '/@/renderer/api/types'; import { toast } from '/@/renderer/components/toast'; @@ -386,7 +386,7 @@ const getArtistInfo = async (args: ArtistInfoArgs): Promise => { return data.artistInfo2; }; -const normalizeSong = (item: SSSong, server: ServerListItem, deviceId: string): Song => { +const normalizeSong = (item: SSSong, server: ServerListItem, deviceId: string): QueueSong => { const imageUrl = getCoverArtUrl({ baseUrl: server.url, diff --git a/src/renderer/api/types.ts b/src/renderer/api/types.ts index 8a163a28..dd9e4730 100644 --- a/src/renderer/api/types.ts +++ b/src/renderer/api/types.ts @@ -334,6 +334,7 @@ export type AlbumListQuery = { jfParams?: { albumArtistIds?: string; artistIds?: string; + contributingArtistIds?: string; filters?: string; genreIds?: string; genres?: string; @@ -462,6 +463,7 @@ export type SongListQuery = { artistIds?: string[]; jfParams?: { artistIds?: string; + contributingArtistIds?: string; filters?: string; genreIds?: string; genres?: string;