From 2ab287e2a9129c03d441819091b150ac26f7ba77 Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 8 May 2023 16:20:09 -0400 Subject: [PATCH] Fix:Podcast cron filter out failed library item --- server/managers/CronManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/managers/CronManager.js b/server/managers/CronManager.js index 0e1718e3..92fa4772 100644 --- a/server/managers/CronManager.js +++ b/server/managers/CronManager.js @@ -132,7 +132,7 @@ class CronManager { for (const libraryItem of libraryItems) { const keepAutoDownloading = await this.podcastManager.runEpisodeCheck(libraryItem) if (!keepAutoDownloading) { // auto download was disabled - podcastCron.libraryItemIds = podcastCron.libraryItemIds.filter(lid => lid !== libraryItemId) // Filter it out + podcastCron.libraryItemIds = podcastCron.libraryItemIds.filter(lid => lid !== libraryItem.id) // Filter it out } }