mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-30 03:36:37 +08:00
feat: scrape metadata after organize
This commit is contained in:
@@ -12,6 +12,7 @@ export interface OrganizeOverrides {
|
||||
transfer_mode?: string
|
||||
media_type?: string
|
||||
scan_after?: boolean
|
||||
scrape_after?: boolean
|
||||
library_id?: string
|
||||
dry_run?: boolean
|
||||
}
|
||||
@@ -76,6 +77,15 @@ export const toolsAPI = {
|
||||
removed: number
|
||||
error?: string
|
||||
}>
|
||||
scrapes?: Array<{
|
||||
library_id: string
|
||||
name: string
|
||||
path: string
|
||||
matched: number
|
||||
skipped?: boolean
|
||||
reason?: string
|
||||
error?: string
|
||||
}>
|
||||
}>(
|
||||
'/admin/organize/source',
|
||||
opts,
|
||||
|
||||
Reference in New Issue
Block a user