mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 17:54:54 +02:00
Removed a noisy log and limit chapter embedding to items with only 1 audiofile
This commit is contained in:
parent
d57effe97c
commit
586c8a550a
2 changed files with 2 additions and 4 deletions
|
@ -49,7 +49,7 @@ class AudioMetadataMangaer {
|
|||
|
||||
try {
|
||||
toneJsonPath = Path.join(itemCacheDir, 'metadata.json')
|
||||
await toneHelpers.writeToneMetadataJsonFile(libraryItem, toneJsonPath)
|
||||
await toneHelpers.writeToneMetadataJsonFile(libraryItem, audioFiles.length == 1 && libraryItem.media.chapters, toneJsonPath)
|
||||
} catch (error) {
|
||||
Logger.error(`[AudioMetadataManager] Write metadata.json failed`, error)
|
||||
toneJsonPath = null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue