From daba25281a01dc46d74742191767af4237607c67 Mon Sep 17 00:00:00 2001 From: Akhil Gupta Date: Wed, 14 Jul 2021 05:42:55 +0530 Subject: [PATCH] try fix breaking rss --- Readme.md | 2 +- client/settings.html | 2 +- controllers/podcast.go | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 0fa8aef..a8ca030 100644 --- a/Readme.md +++ b/Readme.md @@ -14,7 +14,7 @@ -->

Podgrab

-

Current Version - 2021.06.30

+

Current Version - 2021.07.14

A self-hosted podcast manager to download episodes as soon as they become live diff --git a/client/settings.html b/client/settings.html index 5aa3e0d..f6d929f 100644 --- a/client/settings.html +++ b/client/settings.html @@ -124,7 +124,7 @@ - + diff --git a/controllers/podcast.go b/controllers/podcast.go index a356f77..af04c2d 100644 --- a/controllers/podcast.go +++ b/controllers/podcast.go @@ -417,6 +417,7 @@ func createRss(items []db.PodcastItem, title, description string, c *gin.Context Enclosure: model.RssItemEnclosure{ URL: fmt.Sprintf("%s://%s/podcastitems/%s/file", url.Scheme, url.Host, item.ID), Length: fmt.Sprint(item.FileSize), + Type: "audio/mpeg", }, PubDate: item.PubDate.Format("Mon, 02 Jan 2006 15:04:05 -0700"), Guid: model.RssItemGuid{
Current Version 2021.06.30 2021.07.14
Website