Add new podcast scanner and remove old scanner

This commit is contained in:
advplyr committed 2023-09-04 11:50:55 -05:00
1 parent 42ff3d8314
commit b9da3fa30e
16 files changed
+952 -898

No files matched your search

@@ -303,7 +303,7 @@ module.exports = {
* @returns {{podcast:object[], tags:object[]}}
*/
async search(oldUser, oldLibrary, query, limit, offset) {
const userPermissionPodcastWhere = this.getUserPermissionPodcastWhereQuery(user)
const userPermissionPodcastWhere = this.getUserPermissionPodcastWhereQuery(oldUser)
// Search title, author, itunesId, itunesArtistId
const podcasts = await Database.podcastModel.findAll({
where: [