Update:Audiobook merge to set metadata with tone and replace m4b in library item #594

This commit is contained in:
advplyr committed 2022-09-26 18:07:31 -05:00
1 parent b7bdaac163
commit f36a5eae6d
6 files changed
+187 -163

No files matched your search

+1 -4
View File
@@ -43,10 +43,7 @@ class AudioMetadataMangaer {
// Write chapters file
var chaptersFilePath = null
var cachePath = Path.join(global.MetadataPath, 'cache/items')
console.log('Items Cache Path', cachePath)
var itemCacheDir = Path.join(cachePath, libraryItem.id)
const itemCacheDir = Path.join(global.MetadataPath, `cache/items/${libraryItem.id}`)
await fs.ensureDir(itemCacheDir)
if (libraryItem.media.chapters.length) {