Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RumbleListing ¶
type RumbleListing struct {
Exact map[string]string // &->_ name -> original name (no suffix)
ByNorm map[string]string // normalized name -> original name (no suffix)
}
RumbleListing holds the directory listing for a single variant's rumble CHT files. Exact maps the &->_ filename (without suffix) to the original filename. ByNorm maps normalized names for fallback matching.
type ScanProgress ¶
type ScanProgress struct {
Phase ScanPhase
Progress float64 // 0.0 to 1.0
GamesFound int
ArtworkTotal int
ArtworkComplete int
StatusText string
}
ScanProgress represents progress updates from the scanner
type ScanResult ¶
ScanResult represents the final scan result
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner handles ROM scanning in the background
func NewScanner ¶
func NewScanner(dirs []storage.ScanDirectory, excluded []string, existing map[string]*storage.GameEntry, rescanAll bool, extensions []string, md *metadata.MetadataManager, defaultConsoleID int) *Scanner
NewScanner creates a new scanner instance
func (*Scanner) Progress ¶
func (s *Scanner) Progress() <-chan ScanProgress
Progress returns the progress channel
type ThumbnailListing ¶
type ThumbnailListing struct {
// Maps keyed by artwork type ("Named_Boxarts", etc.)
Exact map[string]map[string]string // artType -> exactKey -> original
ByBase map[string]map[string][]thumbEntry // artType -> normBase -> candidates
}
ThumbnailListing holds the directory listing for a single variant's thumbnail repository. Each artwork type has indexed entries for fast lookup by base title.
Click to show internal directories.
Click to hide internal directories.