feat: scrape STRM libraries after refresh

This commit is contained in:
ShukeBta
2026-07-03 01:18:27 +08:00
parent a6f2d0208d
commit 9833c60e38
12 changed files with 257 additions and 35 deletions
+6
View File
@@ -9,6 +9,7 @@ export type GenerateSTRMInput = {
include_local?: boolean
preserve_tree?: boolean
refresh_library?: boolean
scrape_after?: boolean
}
export type GenerateSTRMResult = {
@@ -51,6 +52,7 @@ export type GenerateSTRMTreeInput = {
transfer_subtitles?: boolean
missing_only?: boolean
refresh_library?: boolean
scrape_after?: boolean
}
export type RepairSTRMInput = {
@@ -58,6 +60,7 @@ export type RepairSTRMInput = {
base_url?: string
dry_run?: boolean
refresh_library?: boolean
scrape_after?: boolean
}
export type RepairSTRMResult = {
@@ -80,6 +83,9 @@ export type STRMRefreshResult = {
requested: boolean
queued: boolean
reason?: string
scrape_requested?: boolean
scrape_queued?: boolean
scrape_reason?: string
targets?: Array<{
library_id: string
root_id?: string