mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-03 16:59:41 +00:00
Fix debug log metadata save title
This commit is contained in:
parent
63a97b3c40
commit
d5cd4f7944
2 changed files with 4 additions and 2 deletions
|
|
@ -166,7 +166,9 @@ class ToolsController {
|
||||||
}
|
}
|
||||||
|
|
||||||
const libraryItems = await Database.libraryItemModel.findAll()
|
const libraryItems = await Database.libraryItemModel.findAll()
|
||||||
for (const libraryItem of libraryItems) await libraryItem.saveMetadataFile()
|
for (const libraryItem of libraryItems) {
|
||||||
|
await libraryItem.saveMetadataFile()
|
||||||
|
}
|
||||||
|
|
||||||
res.sendStatus(200)
|
res.sendStatus(200)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -649,7 +649,7 @@ class LibraryItem extends Model {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger.debug(`[LibraryItem] Saved metadata for "${this.media.title}" file to "${metadataFilePath}"`)
|
Logger.debug(`[LibraryItem] Saved metadata for "${mediaExpanded.title}" file to "${metadataFilePath}"`)
|
||||||
|
|
||||||
return metadataLibraryFile
|
return metadataLibraryFile
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue