mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 10:14:36 +02:00
Add feed migration and cleanup
This commit is contained in:
parent
a4b0f6c202
commit
a0bc959850
12 changed files with 138 additions and 34 deletions
|
@ -169,6 +169,8 @@ function migratePodcast(oldLibraryItem, LibraryItem) {
|
|||
//
|
||||
const oldEpisodes = oldPodcast.episodes || []
|
||||
for (const oldEpisode of oldEpisodes) {
|
||||
oldEpisode.audioFile.index = 1
|
||||
|
||||
const PodcastEpisode = {
|
||||
id: uuidv4(),
|
||||
index: oldEpisode.index,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue