mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-09 05:19:37 +00:00
Merge branch 'master' into auth_passportjs
This commit is contained in:
commit
cfe0c2a986
2 changed files with 151 additions and 149 deletions
|
|
@ -127,8 +127,7 @@ class CronManager {
|
|||
}
|
||||
}
|
||||
|
||||
async executePodcastCron(expression, libraryItemIds) {
|
||||
Logger.debug(`[CronManager] Start executing podcast cron ${expression} for ${libraryItemIds.length} item(s)`)
|
||||
async executePodcastCron(expression) {
|
||||
const podcastCron = this.podcastCrons.find(cron => cron.expression === expression)
|
||||
if (!podcastCron) {
|
||||
Logger.error(`[CronManager] Podcast cron not found for expression ${expression}`)
|
||||
|
|
@ -136,6 +135,9 @@ class CronManager {
|
|||
}
|
||||
this.podcastCronExpressionsExecuting.push(expression)
|
||||
|
||||
const libraryItemIds = podcastCron.libraryItemIds
|
||||
Logger.debug(`[CronManager] Start executing podcast cron ${expression} for ${libraryItemIds.length} item(s)`)
|
||||
|
||||
// Get podcast library items to check
|
||||
const libraryItems = []
|
||||
for (const libraryItemId of libraryItemIds) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue