mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-30 18:12:25 -04:00 
			
		
		
		
	Fix:OPML upload path separator #1476
This commit is contained in:
		
							parent
							
								
									3383ec2046
								
							
						
					
					
						commit
						debf0f495d
					
				| @ -54,7 +54,7 @@ export default { | |||||||
|     }, |     }, | ||||||
|     folderPath() { |     folderPath() { | ||||||
|       if (!this.libraryFolderPath) return '' |       if (!this.libraryFolderPath) return '' | ||||||
|       return `${this.libraryFolderPath}\\${this.$sanitizeFilename(this.title)}` |       return `${this.libraryFolderPath}/${this.$sanitizeFilename(this.title)}` | ||||||
|     }, |     }, | ||||||
|     detailsWidth() { |     detailsWidth() { | ||||||
|       return this.width - 85 |       return this.width - 85 | ||||||
|  | |||||||
| @ -97,7 +97,7 @@ export default { | |||||||
|   }, |   }, | ||||||
|   methods: { |   methods: { | ||||||
|     toFeedMetadata(feed) { |     toFeedMetadata(feed) { | ||||||
|       var metadata = feed.metadata |       const metadata = feed.metadata | ||||||
|       return { |       return { | ||||||
|         title: metadata.title, |         title: metadata.title, | ||||||
|         author: metadata.author, |         author: metadata.author, | ||||||
| @ -122,9 +122,9 @@ export default { | |||||||
|     }, |     }, | ||||||
|     async submit() { |     async submit() { | ||||||
|       this.processing = true |       this.processing = true | ||||||
|       var newFeedPayloads = this.feedMetadata.map((metadata) => { |       const newFeedPayloads = this.feedMetadata.map((metadata) => { | ||||||
|         return { |         return { | ||||||
|           path: `${this.selectedFolderPath}\\${this.$sanitizeFilename(metadata.title)}`, |           path: `${this.selectedFolderPath}/${this.$sanitizeFilename(metadata.title)}`, | ||||||
|           folderId: this.selectedFolderId, |           folderId: this.selectedFolderId, | ||||||
|           libraryId: this.currentLibrary.id, |           libraryId: this.currentLibrary.id, | ||||||
|           media: { |           media: { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user