Add feed migration and cleanup

This commit is contained in:
advplyr 2023-07-05 18:18:37 -05:00
parent a4b0f6c202
commit a0bc959850
12 changed files with 138 additions and 34 deletions

View file

@ -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,