Encode podcast url when downloading episode

This commit is contained in:
Dan Tong 2023-02-18 14:21:45 +13:00
parent 911c854365
commit 956678c08c

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()