Skip to content

Commit

Permalink
Merge pull request #3906 from tharvik/master
Browse files Browse the repository at this point in the history
server/podcast: stabilize random ID
advplyr authored Jan 28, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 45aaaf9 + 575927c commit 0fbba3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/objects/PodcastEpisodeDownload.js
Original file line number Diff line number Diff line change
@@ -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)
}

0 comments on commit 0fbba3e

Please sign in to comment.