Add genre list query

This commit is contained in:
jeffvli 2022-12-22 01:56:59 -08:00
parent b4301486f3
commit 223cf469f4
5 changed files with 69 additions and 4 deletions

View file

@ -187,9 +187,14 @@ const getMusicFolderList = async (args: MusicFolderListArgs) => {
return (apiController('getMusicFolderList') as ControllerEndpoint['getMusicFolderList'])?.(args);
};
const getGenreList = async (args: GenreListArgs) => {
return (apiController('getGenreList') as ControllerEndpoint['getGenreList'])?.(args);
};
export const controller = {
getAlbumDetail,
getAlbumList,
getGenreList,
getMusicFolderList,
getSongList,
};