mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-15 00:09:38 +00:00
Add episode_download_queue_cleared socket event
This commit is contained in:
parent
b50d7f0927
commit
8626fa3e00
2 changed files with 8 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ class PodcastManager {
|
|||
var itemDownloads = this.getEpisodeDownloadsInQueue(libraryItemId)
|
||||
Logger.info(`[PodcastManager] Clearing downloads in queue for item "${libraryItemId}" (${itemDownloads.length})`)
|
||||
this.downloadQueue = this.downloadQueue.filter((d) => d.libraryItemId !== libraryItemId)
|
||||
SocketAuthority.emitter('episode_download_queue_cleared', libraryItemId)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue