track_base
¶
Base class for music processing modules.
Provides common functionality and structure for all music processing modules including genre management, year retrieval, and track processing.
BaseProcessor
¶
Base class for music processing modules.
Provides common initialization and dry-run functionality that is shared across all processing modules.
Initialize the base processor.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
console_logger
|
Logger
|
Logger for console output |
required |
error_logger
|
Logger
|
Logger for error messages |
required |
analytics
|
AnalyticsProtocol
|
Service for performance tracking |
required |
config
|
AppConfig
|
Typed application configuration |
required |
dry_run
|
bool
|
Whether to run in dry-run mode |
required |
Source code in src/core/tracks/track_base.py
get_dry_run_actions
¶
Get the list of dry-run actions performed.
Returns:
| Type | Description |
|---|---|
list[dict[str, Any]]
|
List of dry-run actions with details |