mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-03 16:59:41 +00:00
Podcast episode audio file to always use index 1
This commit is contained in:
parent
bd5e865a11
commit
6d823f4e42
3 changed files with 4 additions and 2 deletions
|
|
@ -210,6 +210,7 @@ class Podcast {
|
|||
addNewEpisodeFromAudioFile(audioFile, index) {
|
||||
var pe = new PodcastEpisode()
|
||||
pe.libraryItemId = this.libraryItemId
|
||||
audioFile.index = 1 // Only 1 audio file per episode
|
||||
pe.setDataFromAudioFile(audioFile, index)
|
||||
this.episodes.push(pe)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue