Module core

Module core 

Source
Expand description

Core processing modules

This module contains the main business logic for audiobook processing:

  • Scanner: Directory scanning and book folder discovery
  • Analyzer: Audio file analysis and quality detection
  • Processor: Single book processing (FFmpeg, metadata, chapters)
  • BatchProcessor: Parallel batch processing

Structs§

Analyzer
Analyzer for audio tracks
BatchProcessor
Batch processor for converting multiple audiobooks in parallel
BatchProgress
Batch progress tracker
BookProgress
Progress information for a single book
OrganizeResult
Result of an organization operation
Organizer
Organizer for managing audiobook folder structure
Processor
Processor for converting a single audiobook
RetryConfig
Retry configuration
Scanner
Scanner for discovering audiobook folders in a directory tree

Enums§

ErrorType
Error classification for smart retry logic
OrganizeAction
Type of organization action
ProcessingStage
Stage of book processing

Functions§

classify_error
Classify an error to determine if retry is worthwhile
retry_async
Execute a function with retry logic
smart_retry_async
Execute with smart retry (only retry transient errors)