batch

package
v0.2.11-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2026 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(protected *gin.RouterGroup, deps *ServerDependencies)

Types

type BatchFileResult

type BatchFileResult = contracts.BatchFileResult

type BatchFileResultSlim

type BatchFileResultSlim = contracts.BatchFileResultSlim

type BatchJobResponse

type BatchJobResponse = contracts.BatchJobResponse

type BatchJobResponseSlim

type BatchJobResponseSlim = contracts.BatchJobResponseSlim

type BatchProcessOptions

type BatchProcessOptions struct {
	Job                         *worker.BatchJob
	JobQueue                    *worker.JobQueue
	Registry                    *models.ScraperRegistry
	Aggregator                  *aggregator.Aggregator
	MovieRepo                   *database.MovieRepository
	Matcher                     *matcher.Matcher
	Strict                      bool
	Force                       bool
	UpdateMode                  bool
	Destination                 string
	Cfg                         *config.Config
	SelectedScrapers            []string
	ScalarStrategy              string
	ArrayStrategy               string
	DB                          *database.DB
	MoveToFolderOverride        *bool
	RenameFolderInPlaceOverride *bool
	OperationModeOverride       string
	Emitter                     eventlog.EventEmitter
}

processBatchJob processes a batch scraping job (metadata only, no file organization) using concurrent worker pool for improved performance. If updateMode is true, will also download media files and generate NFOs in place without moving files. scalarStrategy determines how to merge scalar fields (prefer-scraper, prefer-nfo) arrayStrategy determines how to merge array fields (merge, replace) moveToFolderOverride and renameFolderInPlaceOverride allow per-job folder mode overrides. operationModeOverride allows per-job operation mode override (organize, in-place, metadata-only, preview).

type BatchRescrapeRequest

type BatchRescrapeRequest = contracts.BatchRescrapeRequest

type BatchRescrapeResponse

type BatchRescrapeResponse = contracts.BatchRescrapeResponse

type BatchScrapeRequest

type BatchScrapeRequest = contracts.BatchScrapeRequest

type BatchScrapeResponse

type BatchScrapeResponse = contracts.BatchScrapeResponse

type ErrorResponse

type ErrorResponse = contracts.ErrorResponse

type MovieResponse

type MovieResponse = contracts.MovieResponse

type OrganizePreviewRequest

type OrganizePreviewRequest = contracts.OrganizePreviewRequest

type OrganizePreviewResponse

type OrganizePreviewResponse = contracts.OrganizePreviewResponse

type OrganizeRequest

type OrganizeRequest = contracts.OrganizeRequest

type PosterCropRequest

type PosterCropRequest = contracts.PosterCropRequest

type PosterCropResponse

type PosterCropResponse = contracts.PosterCropResponse

type ServerDependencies

type ServerDependencies = core.ServerDependencies

type UpdateMovieRequest

type UpdateMovieRequest = contracts.UpdateMovieRequest

type UpdateOptions

type UpdateOptions struct {
	ForceOverwrite bool
	PreserveNFO    bool
	Preset         string
	ScalarStrategy string
	ArrayStrategy  string
	SkipNFO        bool
	SkipDownload   bool
}

type UpdateRequest

type UpdateRequest = contracts.UpdateRequest

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL