mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-09 17:04:58 +02:00
Add rss feed minified
This commit is contained in:
parent
c3717f6979
commit
a9ee9031c3
1 changed files with 9 additions and 0 deletions
|
@ -61,6 +61,15 @@ class Feed {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
toJSONMinified() {
|
||||||
|
return {
|
||||||
|
id: this.id,
|
||||||
|
entityType: this.entityType,
|
||||||
|
entityId: this.entityId,
|
||||||
|
feedUrl: this.feedUrl
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
getEpisodePath(id) {
|
getEpisodePath(id) {
|
||||||
var episode = this.episodes.find(ep => ep.id === id)
|
var episode = this.episodes.find(ep => ep.id === id)
|
||||||
if (!episode) return null
|
if (!episode) return null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue