Skip to content

Commit

Permalink
server/podcast: stabilize random ID
Browse files Browse the repository at this point in the history
  • Loading branch information
tharvik committed Jan 28, 2025
1 parent 45aaaf9 commit 575927c
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
Expand Up @@ -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)
}
Expand Down

0 comments on commit 575927c

Please sign in to comment.