mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 17:24:57 +02:00
Update:Audiobook merge to set metadata with tone and replace m4b in library item #594
This commit is contained in:
parent
b7bdaac163
commit
f36a5eae6d
6 changed files with 187 additions and 163 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue