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

Encode podcast url when downloading episode
This commit is contained in:
advplyr authored and GitHub committed 2023-02-20 17:26:33 -06:00
commit 388444e51f
1 file changed
+1 -1
+1 -1
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()