mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-05 01:39:40 +00:00
Add id to the metadata json and use it when moving files if ino cannot be matched
This commit is contained in:
parent
8758c62ae2
commit
6ac0a8a678
4 changed files with 17 additions and 1 deletions
|
|
@ -821,6 +821,7 @@ class BookScanner {
|
|||
const metadataFilePath = Path.join(metadataPath, `metadata.${global.ServerSettings.metadataFileFormat}`)
|
||||
|
||||
const jsonObject = {
|
||||
absId: libraryItem.id,
|
||||
tags: libraryItem.media.tags || [],
|
||||
chapters: libraryItem.media.chapters?.map((c) => ({ ...c })) || [],
|
||||
title: libraryItem.media.title,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue