Update OPML api route to load podcasts from db

This commit is contained in:
advplyr 2023-08-19 15:19:27 -05:00
parent 8d451217a3
commit ff0d6326d3
4 changed files with 48 additions and 17 deletions

View file

@ -372,8 +372,13 @@ class PodcastManager {
}
}
generateOPMLFileText(libraryItems) {
return opmlGenerator.generate(libraryItems)
/**
* OPML file string for podcasts in a library
* @param {import('../models/Podcast')[]} podcasts
* @returns {string} XML string
*/
generateOPMLFileText(podcasts) {
return opmlGenerator.generate(podcasts)
}
getDownloadQueueDetails(libraryId = null) {