mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-12 06:49:40 +00:00
Change:Download m4b file set proper metadata id3 tags #286
This commit is contained in:
parent
663ab2db90
commit
405d333d60
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue