feat: add Bazarr integration and subtitle status widget (#6156)

Co-authored-by: Thomas <thomas@ajnart.fr>
This commit is contained in:
Felix-AyushandThomas authored and GitHub committed 2026-07-10 17:29:10 +02:00
1 parent 7d93df04dd
commit 2c5368dd4e
28 files changed
+635

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { createIntegrationAsync } from "@homarr/integrations";
import type { BazarrBadges } from "@homarr/integrations";
import { createIntegrationRequestHandler } from "./lib/integration-request-handler";
export const bazarrBadgesRequestHandler = createIntegrationRequestHandler<
BazarrBadges,
"bazarr",
Record<string, never>
>({
async requestAsync(integration) {
const integrationInstance = await createIntegrationAsync(integration);
return await integrationInstance.getBadgesAsync();
},
});