Add podcast episode auto download new episodes cron

This commit is contained in:
advplyr 2022-03-26 19:58:59 -05:00
parent d5e96a3422
commit 0dd219f303
10 changed files with 155 additions and 15 deletions

View file

@ -126,5 +126,10 @@ class PodcastEpisode {
audioTrack.setData(libraryItemId, this.audioFile, 0)
return [audioTrack]
}
checkEqualsEnclosureUrl(url) {
if (!this.enclosure || !this.enclosure.url) return false
return this.enclosure.url == url
}
}
module.exports = PodcastEpisode