mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +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,
|
name: query.searchTerm,
|
||||||
...query._custom?.navidrome,
|
...query._custom?.navidrome,
|
||||||
role: hasFeature(apiClientProps.server, ServerFeature.BFR) ? 'albumartist' : '',
|
role: hasFeature(apiClientProps.server, ServerFeature.BFR) ? 'albumartist' : '',
|
||||||
|
...excludeMissing(apiClientProps.server),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -232,6 +233,7 @@ export const NavidromeController: ControllerEndpoint = {
|
||||||
_sort: NDSongListSort.ALBUM,
|
_sort: NDSongListSort.ALBUM,
|
||||||
_start: 0,
|
_start: 0,
|
||||||
album_id: [query.id],
|
album_id: [query.id],
|
||||||
|
...excludeMissing(apiClientProps.server),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -310,6 +312,7 @@ export const NavidromeController: ControllerEndpoint = {
|
||||||
name: query.searchTerm,
|
name: query.searchTerm,
|
||||||
...query._custom?.navidrome,
|
...query._custom?.navidrome,
|
||||||
role: query.role || undefined,
|
role: query.role || undefined,
|
||||||
|
...excludeMissing(apiClientProps.server),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -433,6 +436,7 @@ export const NavidromeController: ControllerEndpoint = {
|
||||||
? songListSortMap.navidrome[query.sortBy]
|
? songListSortMap.navidrome[query.sortBy]
|
||||||
: ndType._enum.songList.ID,
|
: ndType._enum.songList.ID,
|
||||||
_start: query.startIndex,
|
_start: query.startIndex,
|
||||||
|
...excludeMissing(apiClientProps.server),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -532,6 +536,7 @@ export const NavidromeController: ControllerEndpoint = {
|
||||||
_sort: NDSongListSort.RANDOM,
|
_sort: NDSongListSort.RANDOM,
|
||||||
_start: 0,
|
_start: 0,
|
||||||
album_artist_id: query.albumArtistIds,
|
album_artist_id: query.albumArtistIds,
|
||||||
|
...excludeMissing(apiClientProps.server),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue