core

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: GPL-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	// contains filtered or unexported fields
}

func New

func New(deps api.CoreDependencies) (*Core, error)

func NewWithContext

func NewWithContext(ctx context.Context, deps api.CoreDependencies) (*Core, error)

func (*Core) BuildUploadReview

func (c *Core) BuildUploadReview(ctx context.Context, req api.Request) (api.UploadReview, error)

func (*Core) CheckDupes

func (c *Core) CheckDupes(ctx context.Context, req api.Request) (api.DupeCheckSummary, error)

func (*Core) Close

func (c *Core) Close() error

func (*Core) DeleteAllHistoryReleases

func (c *Core) DeleteAllHistoryReleases(ctx context.Context) (int, error)

func (*Core) DeleteHistoryRelease

func (c *Core) DeleteHistoryRelease(ctx context.Context, sourcePath string) error

func (*Core) DeleteScreenshot

func (c *Core) DeleteScreenshot(ctx context.Context, req api.Request, imagePath string) error

func (*Core) DeleteTrackerImageURL

func (c *Core) DeleteTrackerImageURL(ctx context.Context, req api.Request, url string) error

func (*Core) DeleteUploadedImage

func (c *Core) DeleteUploadedImage(ctx context.Context, req api.Request, imagePath string, host string) error

func (*Core) DiscoverPlaylists

func (c *Core) DiscoverPlaylists(ctx context.Context, sourcePath string) ([]api.PlaylistInfo, error)

func (*Core) ExportGUICachedPreparedMeta

func (c *Core) ExportGUICachedPreparedMeta(ctx context.Context, req api.Request) (api.PreparedMetadata, bool, error)

ExportGUICachedPreparedMeta exposes the resolved GUI prepared metadata cache entry so callers can hand off metadata to isolated per-run cores.

func (*Core) FetchDescriptionBuilderGroupPreview

func (c *Core) FetchDescriptionBuilderGroupPreview(ctx context.Context, req api.Request) (api.DescriptionBuilderGroup, error)

func (*Core) FetchDescriptionBuilderPreview

func (c *Core) FetchDescriptionBuilderPreview(ctx context.Context, req api.Request) (api.DescriptionBuilderPreview, error)

func (*Core) FetchMetadataPreview

func (c *Core) FetchMetadataPreview(ctx context.Context, req api.Request) (api.MetadataPreview, error)

func (*Core) FetchPreparationPreview

func (c *Core) FetchPreparationPreview(ctx context.Context, req api.Request) (api.PreparationPreview, error)

func (*Core) FetchScreenshotPlan

func (c *Core) FetchScreenshotPlan(ctx context.Context, req api.Request) (api.ScreenshotPlan, error)

func (*Core) FetchTrackerDryRunPreview

func (c *Core) FetchTrackerDryRunPreview(ctx context.Context, req api.Request) (api.TrackerDryRunPreview, error)

func (*Core) GenerateScreenshots

func (c *Core) GenerateScreenshots(ctx context.Context, req api.Request, selections []api.ScreenshotSelection, purpose api.ScreenshotPurpose) (api.ScreenshotResult, error)

func (*Core) GetHistoryOverview

func (c *Core) GetHistoryOverview(ctx context.Context, sourcePath string) (api.HistoryOverview, error)

func (*Core) ImportMenuImages

func (c *Core) ImportMenuImages(ctx context.Context, req api.Request, importPaths []string) error

func (*Core) ImportPreparedMetadataForGUI

func (c *Core) ImportPreparedMetadataForGUI(ctx context.Context, req api.Request, meta api.PreparedMetadata) error

ImportPreparedMetadataForGUI stores prepared metadata on a per-run core so GUI dry-run and upload-only flows can reuse metadata prepared on the long-lived GUI core.

func (*Core) ListHistory

func (c *Core) ListHistory(ctx context.Context) ([]api.HistoryEntry, error)

func (*Core) ListUploadCandidates

func (c *Core) ListUploadCandidates(ctx context.Context, req api.Request) ([]api.ScreenshotImage, error)

func (*Core) ListUploadedImages

func (c *Core) ListUploadedImages(ctx context.Context, req api.Request) ([]api.UploadedImageLink, error)

func (*Core) LoadPlaylistSelection

func (c *Core) LoadPlaylistSelection(ctx context.Context, sourcePath string) (api.PlaylistSelection, error)

func (*Core) PreviewScreenshotFrame

func (c *Core) PreviewScreenshotFrame(ctx context.Context, req api.Request, timestampSeconds float64) (api.ScreenshotPreview, error)

func (*Core) RenderDescription

func (c *Core) RenderDescription(ctx context.Context, raw string) (string, error)

func (*Core) RunUpload

func (c *Core) RunUpload(ctx context.Context, req api.Request) (api.Result, error)

func (*Core) RunUploadPrepared

func (c *Core) RunUploadPrepared(ctx context.Context, req api.Request) (api.Result, error)

func (*Core) SaveDescriptionOverride

func (c *Core) SaveDescriptionOverride(ctx context.Context, req api.Request, raw string) (api.DescriptionBuilderGroup, error)

func (*Core) SaveFinalScreenshotSelections

func (c *Core) SaveFinalScreenshotSelections(ctx context.Context, req api.Request, images []api.ScreenshotImage) error

func (*Core) SavePlaylistSelection

func (c *Core) SavePlaylistSelection(ctx context.Context, sourcePath string, playlists []string, useAll bool) error

func (*Core) SelectBlurayCandidate

func (c *Core) SelectBlurayCandidate(ctx context.Context, sourcePath string, releaseID string) (api.MetadataPreview, error)

func (*Core) UploadImages

func (c *Core) UploadImages(ctx context.Context, req api.Request, host string, images []api.ScreenshotImage) (api.UploadImagesResult, error)

Jump to

Keyboard shortcuts

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