mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-20 18:59:37 +00:00
Fix handling of file moves from root folder to sub folder and back
This commit is contained in:
parent
1bee082720
commit
68276fe30b
2 changed files with 69 additions and 8 deletions
|
|
@ -56,7 +56,7 @@ class LibraryItemScanner {
|
|||
|
||||
const libraryItemPath = updateLibraryItemDetails?.path || fileUtils.filePathToPOSIX(libraryItem.path)
|
||||
const folder = library.libraryFolders[0]
|
||||
const libraryItemScanData = await this.getLibraryItemScanData(libraryItemPath, library, folder, false)
|
||||
const libraryItemScanData = await this.getLibraryItemScanData(libraryItemPath, library, folder, updateLibraryItemDetails?.isFile || false)
|
||||
|
||||
let libraryItemDataUpdated = await libraryItemScanData.checkLibraryItemData(libraryItem, scanLogger)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue