mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Change:Download m4b file set proper metadata id3 tags #286
This commit is contained in:
		
							parent
							
								
									663ab2db90
								
							
						
					
					
						commit
						405d333d60
					
				@ -45,10 +45,12 @@ async function writeMetadataFile(audiobook, outputPath) {
 | 
			
		||||
  var inputstrs = [
 | 
			
		||||
    ';FFMETADATA1',
 | 
			
		||||
    `title=${audiobook.title}`,
 | 
			
		||||
    `artist=${audiobook.author}`,
 | 
			
		||||
    `artist=${audiobook.authorFL}`,
 | 
			
		||||
    `album_artist=${audiobook.authorFL}`,
 | 
			
		||||
    `date=${audiobook.book.publishYear || ''}`,
 | 
			
		||||
    `comment=AudioBookshelf v${package.version}`,
 | 
			
		||||
    'genre=Audiobook'
 | 
			
		||||
    `description=${audiobook.book.description}`,
 | 
			
		||||
    `genre=${audiobook.book._genres.join(';')}`,
 | 
			
		||||
    `comment=Audiobookshelf v${package.version}`
 | 
			
		||||
  ]
 | 
			
		||||
 | 
			
		||||
  if (audiobook.chapters) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user