mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-21 08:01:34 +01:00
Update:Download podcast episodes and embed meta tags #1488
This commit is contained in:
1 parent
575a162f8b
commit
704fbaced8
3 files changed
+87
-6
No files matched your search
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user