mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-13 23:39:39 +00:00
RSS feeds for single file audiobooks now use book title
This commit is contained in:
parent
ecefb30f3d
commit
5e7bca02b3
2 changed files with 34 additions and 1 deletions
|
|
@ -101,7 +101,11 @@ class Feed {
|
|||
feedEpisode.setFromPodcastEpisode(libraryItem, serverAddress, slug, episode, this.meta)
|
||||
this.episodes.push(feedEpisode)
|
||||
})
|
||||
} else { // AUDIOBOOK EPISODES
|
||||
} else if (media.tracks.length == 1) { // SINGLE FILE AUDIOBOOKS
|
||||
var feedEpisode = new FeedEpisode()
|
||||
feedEpisode.setFromSingleAudiobookTrack(libraryItem, serverAddress, slug, media.tracks[0], this.meta)
|
||||
this.episodes.push(feedEpisode)
|
||||
} else { // MULTI-FILE AUDIOBOOKS
|
||||
media.tracks.forEach((audioTrack) => {
|
||||
var feedEpisode = new FeedEpisode()
|
||||
feedEpisode.setFromAudiobookTrack(libraryItem, serverAddress, slug, audioTrack, this.meta)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue