Merge pull request #1515 from dwtong/encode-podcast-url

Encode podcast url when downloading episode
This commit is contained in:
advplyr
2023-02-20 17:26:33 -06:00
committed by GitHub

View File

@@ -50,7 +50,7 @@ class PodcastEpisodeDownload {
setData(podcastEpisode, libraryItem, isAutoDownload) {
this.id = getId('epdl')
this.podcastEpisode = podcastEpisode
this.url = podcastEpisode.enclosure.url
this.url = encodeURI(podcastEpisode.enclosure.url)
this.libraryItem = libraryItem
this.isAutoDownload = isAutoDownload
this.createdAt = Date.now()