chore: add infos about sources and extractors to description

This commit is contained in:
WebStreamr 2025-09-08 08:17:12 +00:00
parent 9f15a03a5a
commit 3b8481ed3f
No known key found for this signature in database
3 changed files with 11 additions and 3 deletions

View file

@ -265,7 +265,7 @@ export function landingTemplate(manifest: CustomManifest) {
</div>
<h1 class="name">${manifest.name}</h1>
<h2 class="version">v${manifest.version || '0.0.0'}</h2>
<h2 class="description">${manifest.description || ''}</h2>
<div class="description"><small>${manifest.description.replace(/\n/g, '<br>') || ''}</small></div>
<div class="separator"></div>

View file

@ -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:",

View file

@ -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;
};