mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
artists fixes
This commit is contained in:
parent
c376293f2f
commit
68759a2613
6 changed files with 15 additions and 7 deletions
|
|
@ -287,7 +287,7 @@ export const NavidromeController: ControllerEndpoint = {
|
|||
_start: query.startIndex,
|
||||
name: query.searchTerm,
|
||||
...query._custom?.navidrome,
|
||||
role: query.role,
|
||||
role: query.role || undefined,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -425,7 +425,8 @@ export const NavidromeController: ControllerEndpoint = {
|
|||
};
|
||||
},
|
||||
getRandomSongList: SubsonicController.getRandomSongList,
|
||||
getRoles: async () => NAVIDROME_ROLES,
|
||||
getRoles: async ({ apiClientProps }) =>
|
||||
hasFeature(apiClientProps.server, ServerFeature.BFR) ? NAVIDROME_ROLES : [],
|
||||
getServerInfo: async (args) => {
|
||||
const { apiClientProps } = args;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue