From 1be75645d3cb9da507b8636453d21e6519cdaacc Mon Sep 17 00:00:00 2001
From: WebStreamr <210764791+webstreamr@users.noreply.github.com>
Date: Tue, 13 May 2025 12:50:53 +0000
Subject: [PATCH] chore: add link to GitHub on configure page, improve content
type info
---
src/landingTemplate.ts | 10 ++++++++--
src/utils/manifest.ts | 2 +-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/landingTemplate.ts b/src/landingTemplate.ts
index 5768f96..fa87994 100644
--- a/src/landingTemplate.ts
+++ b/src/landingTemplate.ts
@@ -267,9 +267,15 @@ export function landingTemplate(manifest: ManifestWithConfig) {
${manifest.description || ''}
-
+
+
+ The source code can be found on GitHub
+
+
+
+
${process.env['CONFIGURATION_DESCRIPTION'] || ''}
-
+
This addon has more :
diff --git a/src/utils/manifest.ts b/src/utils/manifest.ts
index 6805b54..56f7461 100644
--- a/src/utils/manifest.ts
+++ b/src/utils/manifest.ts
@@ -29,7 +29,7 @@ export const buildManifest = (handlers: Handler[], config: Config): ManifestWith
manifest.config.push({
key: handler.id,
type: 'checkbox',
- title: `${handler.languages.map(language => flag(language)).join(' ')} | ${handler.label} (${handler.contentTypes.join(', ')})`,
+ title: `${handler.languages.map(language => flag(language)).join(' ')} | ${handler.label} (${handler.contentTypes.map(contentType => contentType.replace('movie', 'movies')).join(', ')})`,
...(handler.id in config && { default: 'checked' }),
});
});