mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-29 01:58:49 +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 = [
|
var inputstrs = [
|
||||||
';FFMETADATA1',
|
';FFMETADATA1',
|
||||||
`title=${audiobook.title}`,
|
`title=${audiobook.title}`,
|
||||||
`artist=${audiobook.author}`,
|
`artist=${audiobook.authorFL}`,
|
||||||
|
`album_artist=${audiobook.authorFL}`,
|
||||||
`date=${audiobook.book.publishYear || ''}`,
|
`date=${audiobook.book.publishYear || ''}`,
|
||||||
`comment=AudioBookshelf v${package.version}`,
|
`description=${audiobook.book.description}`,
|
||||||
'genre=Audiobook'
|
`genre=${audiobook.book._genres.join(';')}`,
|
||||||
|
`comment=Audiobookshelf v${package.version}`
|
||||||
]
|
]
|
||||||
|
|
||||||
if (audiobook.chapters) {
|
if (audiobook.chapters) {
|
||||||
|
Loading…
Reference in New Issue
Block a user