Merge pull request #3906 from tharvik/master

server/podcast: stabilize random ID
This commit is contained in:
advplyr 2025-01-28 16:41:54 -06:00 committed by GitHub
commit 0fbba3efbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,7 @@ class PodcastEpisodeDownload {
return this.rssPodcastEpisode.title
}
get targetFilename() {
const appendage = this.appendRandomId ? ` (${uuidv4()})` : ''
const appendage = this.appendRandomId ? ` (${this.id})` : ''
const filename = `${this.rssPodcastEpisode.title}${appendage}.${this.fileExtension}`
return sanitizeFilename(filename)
}