Change:Download m4b file set proper metadata id3 tags #286

This commit is contained in:
advplyr 2022-02-03 17:27:22 -06:00
parent 663ab2db90
commit 405d333d60

View File

@ -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) {