mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-27 09:08:57 +01:00
Fix:Set podcast episode audio file index to 1 on scans
This commit is contained in:
parent
80aea0c82d
commit
d5da4441cd
@ -289,6 +289,7 @@ class MediaFileScanner {
|
||||
// Update audio file metadata for audio files already there
|
||||
existingAudioFiles.forEach((af) => {
|
||||
const podcastEpisode = libraryItem.media.findEpisodeWithInode(af.ino)
|
||||
af.index = 1
|
||||
if (podcastEpisode?.audioFile.updateFromScan(af)) {
|
||||
hasUpdated = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user