mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-11-04 03:17:00 -05:00 
			
		
		
		
	server/podcast: stabilize random ID
This commit is contained in:
		
							parent
							
								
									45aaaf9f0b
								
							
						
					
					
						commit
						575927c101
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user