mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-06 07:25:03 +02:00
Update:Download podcast episodes and embed meta tags #1488
This commit is contained in:
parent
575a162f8b
commit
704fbaced8
3 changed files with 87 additions and 6 deletions
|
@ -106,6 +106,10 @@ class PodcastEpisode {
|
|||
get enclosureUrl() {
|
||||
return this.enclosure ? this.enclosure.url : null
|
||||
}
|
||||
get pubYear() {
|
||||
if (!this.publishedAt) return null
|
||||
return new Date(this.publishedAt).getFullYear()
|
||||
}
|
||||
|
||||
setData(data, index = 1) {
|
||||
this.id = getId('ep')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue