Skip to content

Commit

Permalink
Merge pull request #34 from farfromrefug/podcast
Browse files Browse the repository at this point in the history
fix: add podcast metadata to generated story.json
  • Loading branch information
jersou authored Oct 8, 2024
2 parents f64b073 + 6bd7d48 commit 37f6142
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate/rss_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 37f6142

Please sign in to comment.