mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-22 00:07:52 +01:00
Fix:Adding new podcast with auto download episodes not setting the schedule #2160
This commit is contained in:
parent
98ed2e01cc
commit
f0929729a3
@ -91,7 +91,7 @@ class PodcastController {
|
|||||||
|
|
||||||
res.json(libraryItem.toJSONExpanded())
|
res.json(libraryItem.toJSONExpanded())
|
||||||
|
|
||||||
if (payload.episodesToDownload && payload.episodesToDownload.length) {
|
if (payload.episodesToDownload?.length) {
|
||||||
Logger.info(`[PodcastController] Podcast created now starting ${payload.episodesToDownload.length} episode downloads`)
|
Logger.info(`[PodcastController] Podcast created now starting ${payload.episodesToDownload.length} episode downloads`)
|
||||||
this.podcastManager.downloadPodcastEpisodes(libraryItem, payload.episodesToDownload)
|
this.podcastManager.downloadPodcastEpisodes(libraryItem, payload.episodesToDownload)
|
||||||
}
|
}
|
||||||
|
@ -147,6 +147,7 @@ class ServerSettings {
|
|||||||
loggerScannerLogsToKeep: this.loggerScannerLogsToKeep,
|
loggerScannerLogsToKeep: this.loggerScannerLogsToKeep,
|
||||||
homeBookshelfView: this.homeBookshelfView,
|
homeBookshelfView: this.homeBookshelfView,
|
||||||
bookshelfView: this.bookshelfView,
|
bookshelfView: this.bookshelfView,
|
||||||
|
podcastEpisodeSchedule: this.podcastEpisodeSchedule,
|
||||||
sortingIgnorePrefix: this.sortingIgnorePrefix,
|
sortingIgnorePrefix: this.sortingIgnorePrefix,
|
||||||
sortingPrefixes: [...this.sortingPrefixes],
|
sortingPrefixes: [...this.sortingPrefixes],
|
||||||
chromecastEnabled: this.chromecastEnabled,
|
chromecastEnabled: this.chromecastEnabled,
|
||||||
|
Loading…
Reference in New Issue
Block a user