Add download queue

This commit is contained in:
mfcar 2023-02-27 02:56:07 +00:00
parent f0edea5d52
commit 34ac972130
No known key found for this signature in database
21 changed files with 359 additions and 22 deletions

View file

@ -82,6 +82,13 @@ class LibraryController {
return res.json(req.library)
}
async getDownloadQueue(req, res) {
const library = req.library
let queue = this.podcastManager.getDownloadQueueDetails().filter(q => q.libraryId === library.id)
return res.json(queue)
}
async update(req, res) {
const library = req.library