mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 03:11:34 +00:00
Converted podcast duration to seconds
This commit is contained in:
parent
bb7938f66d
commit
a15324cb97
1 changed files with 2 additions and 4 deletions
|
|
@ -162,11 +162,9 @@ class FeedEpisode {
|
||||||
enclosure: this.enclosure,
|
enclosure: this.enclosure,
|
||||||
custom_elements: [
|
custom_elements: [
|
||||||
{ 'itunes:author': this.author },
|
{ 'itunes:author': this.author },
|
||||||
{ 'itunes:duration': secondsToTimestamp(this.duration) },
|
{ 'itunes:duration': Math.round(this.duration) },
|
||||||
{ 'itunes:summary': this.description || '' },
|
{ 'itunes:summary': this.description || '' },
|
||||||
{
|
{ 'itunes:explicit': !!this.explicit },
|
||||||
'itunes:explicit': !!this.explicit
|
|
||||||
},
|
|
||||||
{ 'itunes:episodeType': this.episodeType },
|
{ 'itunes:episodeType': this.episodeType },
|
||||||
{ 'itunes:season': this.season },
|
{ 'itunes:season': this.season },
|
||||||
{ 'itunes:episode': this.episode }
|
{ 'itunes:episode': this.episode }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue