From 6bd7d489263a27513cc9792b9b86593451b2921e Mon Sep 17 00:00:00 2001 From: farfromrefug Date: Tue, 8 Oct 2024 16:57:37 +0200 Subject: [PATCH] fix: add podcast metadata to generated story.json # Conflicts: # serialize/converter.ts --- generate/rss_parser.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/generate/rss_parser.ts b/generate/rss_parser.ts index ac5fec7..03e7963 100644 --- a/generate/rss_parser.ts +++ b/generate/rss_parser.ts @@ -76,6 +76,7 @@ async function getFolderWithUrlFromRssUrl( const metadata = { title: rss.title, description: rss.description, + podcast: true // can be used by players to know if that pack is a podcast } as Metadata; if (opt.rssMinDuration > 0) { rss.item = rss.item.filter((i) => {