mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-28 19:32:45 +01:00
Add episode_download_queue_cleared socket event
This commit is contained in:
1 parent
b50d7f0927
commit
8626fa3e00
2 files changed
+8
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user