Fix:Embed metadata tool embed ASIN, SERIES and SERIESPART #1794

This commit is contained in:
advplyr 2023-05-26 17:57:56 -05:00
parent 4dba95c000
commit 1da471e136
3 changed files with 36 additions and 8 deletions

View file

@ -112,7 +112,7 @@ class AbMergeManager {
let toneJsonPath = null
try {
toneJsonPath = Path.join(task.data.itemCachePath, 'metadata.json')
await toneHelpers.writeToneMetadataJsonFile(libraryItem, libraryItem.media.chapters, toneJsonPath, 1)
await toneHelpers.writeToneMetadataJsonFile(libraryItem, libraryItem.media.chapters, toneJsonPath, 1, 'audio/mp4')
} catch (error) {
Logger.error(`[AbMergeManager] Write metadata.json failed`, error)
toneJsonPath = null