mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-05 10:12:44 +02:00
Single file audiobook rss feed naming logic moved to FeedEpisode.js
This commit is contained in:
@@ -101,11 +101,7 @@ class Feed {
|
||||
feedEpisode.setFromPodcastEpisode(libraryItem, serverAddress, slug, episode, this.meta)
|
||||
this.episodes.push(feedEpisode)
|
||||
})
|
||||
} 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
|
||||
} else { // AUDIOBOOK EPISODES
|
||||
media.tracks.forEach((audioTrack) => {
|
||||
var feedEpisode = new FeedEpisode()
|
||||
feedEpisode.setFromAudiobookTrack(libraryItem, serverAddress, slug, audioTrack, this.meta)
|
||||
|
||||
Reference in New Issue
Block a user