Add nova/mega, enable pengu with new config, provide SDK directly

This commit is contained in:
Gavin Fox
2026-08-20 23:33:53 -07:00
parent f419c26158
commit 71abff6604
14 changed files with 164 additions and 22 deletions

View File

@@ -14,7 +14,7 @@ async function withRetry(fn, attempts = 2, delay = 300) {
return null;
}
export async function probeSource(tmdbApiKey, cfg, mod) {
export async function probeSource(sdk, cfg, mod) {
const audio = /dub$/.test(cfg.key) ? 'dub' : 'sub';
const streamArgs = {
id: HEALTH_PROBE_ID,
@@ -23,7 +23,7 @@ export async function probeSource(tmdbApiKey, cfg, mod) {
clientIP: null,
absoluteBase: null,
audio,
tmdbApiKey,
sdk,
config: cfg,
};