Fix merge conflicts and add language information on the feed rss

This commit is contained in:
mfcar
2023-02-23 00:33:04 +00:00
parent cc62a20a5d
commit ad0edc6329
3 changed files with 12 additions and 9 deletions

View File

@@ -107,6 +107,7 @@ class Feed {
this.meta.link = `${serverAddress}/item/${libraryItem.id}`
this.meta.explicit = !!mediaMetadata.explicit
this.meta.type = mediaMetadata.type
this.meta.language = mediaMetadata.language
this.episodes = []
if (isPodcast) { // PODCAST EPISODES
@@ -144,6 +145,7 @@ class Feed {
this.meta.imageUrl = media.coverPath ? `${this.serverAddress}/feed/${this.slug}/cover` : `${this.serverAddress}/Logo.png`
this.meta.explicit = !!mediaMetadata.explicit
this.meta.type = mediaMetadata.type
this.meta.language = mediaMetadata.language
this.episodes = []
if (isPodcast) { // PODCAST EPISODES