mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
exclude missing for more fields
This commit is contained in:
parent
54932fee86
commit
dd60634a40
1 changed files with 5 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ export const NavidromeController: ControllerEndpoint = {
|
|||
name: query.searchTerm,
|
||||
...query._custom?.navidrome,
|
||||
role: hasFeature(apiClientProps.server, ServerFeature.BFR) ? 'albumartist' : '',
|
||||
...excludeMissing(apiClientProps.server),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -232,6 +233,7 @@ export const NavidromeController: ControllerEndpoint = {
|
|||
_sort: NDSongListSort.ALBUM,
|
||||
_start: 0,
|
||||
album_id: [query.id],
|
||||
...excludeMissing(apiClientProps.server),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -310,6 +312,7 @@ export const NavidromeController: ControllerEndpoint = {
|
|||
name: query.searchTerm,
|
||||
...query._custom?.navidrome,
|
||||
role: query.role || undefined,
|
||||
...excludeMissing(apiClientProps.server),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -433,6 +436,7 @@ export const NavidromeController: ControllerEndpoint = {
|
|||
? songListSortMap.navidrome[query.sortBy]
|
||||
: ndType._enum.songList.ID,
|
||||
_start: query.startIndex,
|
||||
...excludeMissing(apiClientProps.server),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -532,6 +536,7 @@ export const NavidromeController: ControllerEndpoint = {
|
|||
_sort: NDSongListSort.RANDOM,
|
||||
_start: 0,
|
||||
album_artist_id: query.albumArtistIds,
|
||||
...excludeMissing(apiClientProps.server),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue