mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-30 20:44:56 +02:00
server/podcast: stabilize random ID
This commit is contained in:
parent
45aaaf9f0b
commit
575927c101
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class PodcastEpisodeDownload {
|
||||||
return this.rssPodcastEpisode.title
|
return this.rssPodcastEpisode.title
|
||||||
}
|
}
|
||||||
get targetFilename() {
|
get targetFilename() {
|
||||||
const appendage = this.appendRandomId ? ` (${uuidv4()})` : ''
|
const appendage = this.appendRandomId ? ` (${this.id})` : ''
|
||||||
const filename = `${this.rssPodcastEpisode.title}${appendage}.${this.fileExtension}`
|
const filename = `${this.rssPodcastEpisode.title}${appendage}.${this.fileExtension}`
|
||||||
return sanitizeFilename(filename)
|
return sanitizeFilename(filename)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue