mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-08 14:26:37 +08:00
feat: report STRM tree batch progress
This commit is contained in:
@@ -25,15 +25,18 @@ type GenerateSTRMOptions struct {
|
||||
}
|
||||
|
||||
type GenerateSTRMResult struct {
|
||||
LibraryID string `json:"library_id"`
|
||||
OutputDir string `json:"output_dir"`
|
||||
Generated int `json:"generated"`
|
||||
Updated int `json:"updated"`
|
||||
Skipped int `json:"skipped"`
|
||||
Cleaned int `json:"cleaned"`
|
||||
Previewed int `json:"previewed,omitempty"`
|
||||
Errors []string `json:"errors,omitempty"`
|
||||
Items []GenerateSTRMItem `json:"items,omitempty"`
|
||||
LibraryID string `json:"library_id"`
|
||||
OutputDir string `json:"output_dir"`
|
||||
Generated int `json:"generated"`
|
||||
Updated int `json:"updated"`
|
||||
Skipped int `json:"skipped"`
|
||||
Cleaned int `json:"cleaned"`
|
||||
Total int `json:"total,omitempty"`
|
||||
Remaining int `json:"remaining,omitempty"`
|
||||
BatchLimited bool `json:"batch_limited,omitempty"`
|
||||
Previewed int `json:"previewed,omitempty"`
|
||||
Errors []string `json:"errors,omitempty"`
|
||||
Items []GenerateSTRMItem `json:"items,omitempty"`
|
||||
}
|
||||
|
||||
type GenerateSTRMItem struct {
|
||||
|
||||
Reference in New Issue
Block a user