Documentation
¶
Index ¶
- func RegisterRoutes(protected *gin.RouterGroup, deps *ServerDependencies)
- type BatchFileResult
- type BatchFileResultSlim
- type BatchJobResponse
- type BatchJobResponseSlim
- type BatchProcessOptions
- type BatchRescrapeRequest
- type BatchRescrapeResponse
- type BatchScrapeRequest
- type BatchScrapeResponse
- type ErrorResponse
- type MovieResponse
- type OrganizePreviewRequest
- type OrganizePreviewResponse
- type OrganizeRequest
- type PosterCropRequest
- type PosterCropResponse
- type ServerDependencies
- type UpdateMovieRequest
- type UpdateOptions
- type UpdateRequest
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 UpdateRequest ¶
type UpdateRequest = contracts.UpdateRequest
Source Files
¶
- aliases.go
- execute.go
- handlers.go
- lifecycle.go
- movie_edit.go
- paths.go
- process_batch.go
- process_media_helpers.go
- process_organize.go
- process_preview.go
- process_progress.go
- process_update.go
- processors.go
- rescrape.go
- rescrape_helpers.go
- rescrape_poster.go
- rescrape_scrape.go
- rescrape_update.go
- rescrape_validate.go
- routes.go
Click to show internal directories.
Click to hide internal directories.