feat: incremental library scan support and force full scan button

This commit is contained in:
zarzet
2026-02-07 13:19:46 +07:00
parent 859762e35c
commit bef07b1583
3 changed files with 33 additions and 3 deletions
+8
View File
@@ -723,6 +723,14 @@ import Gobackend // Import Go framework
if let error = error { throw error }
return response
case "scanLibraryFolderIncremental":
let args = call.arguments as! [String: Any]
let folderPath = args["folder_path"] as! String
let existingFiles = args["existing_files"] as? String ?? "{}"
let response = GobackendScanLibraryFolderIncrementalJSON(folderPath, existingFiles, &error)
if let error = error { throw error }
return response
case "getLibraryScanProgress":
let response = GobackendGetLibraryScanProgressJSON()
return response