mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-28 11:22:43 +01:00
Update:Audiobook merge to set metadata with tone and replace m4b in library item #594
This commit is contained in:
1 parent
b7bdaac163
commit
f36a5eae6d
6 files changed
+187
-163
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user