Album radio (#1759)

* added album radio feature

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
This commit is contained in:
Alexander Welsing
2026-02-27 05:33:00 +01:00
committed by GitHub
parent a78f5803a5
commit 4918b412b2
12 changed files with 272 additions and 3 deletions
+14
View File
@@ -308,6 +308,20 @@ export const controller: GeneralController = {
}),
);
},
getAlbumRadio(args) {
const server = getServerById(args.apiClientProps.serverId);
if (!server) {
throw new Error(
`${i18n.t('error.apiRouteError', { postProcess: 'sentenceCase' })}: getAlbumRadio`,
);
}
return apiController(
'getAlbumRadio',
server.type,
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getArtistList(args) {
const server = getServerById(args.apiClientProps.serverId);