mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-01 00:18:14 +01:00
Merge pull request #3906 from tharvik/master
server/podcast: stabilize random ID
This commit is contained in:
commit
0fbba3efbd
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user