From 3b8481ed3fe11f64bc73e3a90bd6932da2cf6c96 Mon Sep 17 00:00:00 2001
From: WebStreamr <210764791+webstreamr@users.noreply.github.com>
Date: Mon, 8 Sep 2025 08:17:12 +0000
Subject: [PATCH] chore: add infos about sources and extractors to description
---
src/landingTemplate.ts | 2 +-
src/utils/__snapshots__/manifest.test.ts.snap | 8 +++++++-
src/utils/manifest.ts | 4 +++-
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/landingTemplate.ts b/src/landingTemplate.ts
index 0f40b3a..1536860 100644
--- a/src/landingTemplate.ts
+++ b/src/landingTemplate.ts
@@ -265,7 +265,7 @@ export function landingTemplate(manifest: CustomManifest) {
${manifest.name}
v${manifest.version || '0.0.0'}
- ${manifest.description || ''}
+ ${manifest.description.replace(/\n/g, '
') || ''}
diff --git a/src/utils/__snapshots__/manifest.test.ts.snap b/src/utils/__snapshots__/manifest.test.ts.snap
index 6254782..159a867 100644
--- a/src/utils/__snapshots__/manifest.test.ts.snap
+++ b/src/utils/__snapshots__/manifest.test.ts.snap
@@ -67,7 +67,13 @@ exports[`buildManifest default manifest 1`] = `
"type": "password",
},
],
- "description": "Provides HTTP URLs from streaming websites. Configure add-on for additional languages. Add MediaFlow proxy for more URLs. Supported languages: German, English, Castilian Spanish, French, Italian, Latin American Spanish",
+ "description": "Provides HTTP URLs from streaming websites. Configure add-on for additional languages. Add MediaFlow proxy for more URLs.
+
+Supported languages: German, English, Castilian Spanish, French, Italian, Latin American Spanish
+
+Supported sources: 4KHDHub, VixSrc, PrimeWire, Soaper, VidSrc, XPrime, CineHDPlus, Cuevana, HomeCine, VerHdLink, Einschalten, KinoGer, MegaKino, MeineCloud, StreamKiste, Frembed, FrenchCloud, Movix, Eurostreaming, MostraGuarda
+
+Supported extractors: ",
"id": "webstreamr",
"idPrefixes": [
"tmdb:",
diff --git a/src/utils/manifest.ts b/src/utils/manifest.ts
index 306852f..8cb0015 100644
--- a/src/utils/manifest.ts
+++ b/src/utils/manifest.ts
@@ -102,7 +102,9 @@ export const buildManifest = (sources: Source[], extractors: Extractor[], config
});
});
- manifest.description += ` Supported languages: ${languages.filter(language => language !== 'Multi').join(', ')}`;
+ manifest.description += `\n\nSupported languages: ${languages.filter(language => language !== 'Multi').join(', ')}`;
+ manifest.description += `\n\nSupported sources: ${sources.map(source => source.label).join(', ')}`;
+ manifest.description += `\n\nSupported extractors: ${extractors.map(extractor => extractor.label).join(', ')}`;
return manifest;
};