Converted podcast duration to seconds

This commit is contained in:
Kieran Eglin 2024-09-24 09:54:42 -07:00
parent bb7938f66d
commit a15324cb97
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -162,11 +162,9 @@ class FeedEpisode {
enclosure: this.enclosure,
custom_elements: [
{ 'itunes:author': this.author },
{ 'itunes:duration': secondsToTimestamp(this.duration) },
{ 'itunes:duration': Math.round(this.duration) },
{ 'itunes:summary': this.description || '' },
{
'itunes:explicit': !!this.explicit
},
{ 'itunes:explicit': !!this.explicit },
{ 'itunes:episodeType': this.episodeType },
{ 'itunes:season': this.season },
{ 'itunes:episode': this.episode }