Architecture
Internal design documentation for Teamarr’s backend systems.
| Page | Contents |
|---|---|
| API Layer | Route modules, startup flow, generation status, SPA fallback |
| Consumer Layer | Generation workflow, stream matching, channel lifecycle, caching |
| Dispatcharr Integration | HTTP client, managers, OperationResult pattern, self-healing sync |
| Detection Keyword Service | Stream classification patterns, sport/league hints, multi-sport hints |
| Detection Library | Why each event type has its own extraction flow |
| Database | SQLite schema, settings, database modules |
| Channel Numbering | Lanes: pinned blocks + default range, precedence, stability modes inside lanes, v88 manual-mode migration |
| Template Engine | Variables, conditions, suffix rules, art-URL reconstruction, resolution pipeline |
| Gracenote Template Design | Gracenote-modeled template design, data sources, scoping, fallback |
| Database Migrations | Checkpoint + incremental migration system, schema versioning |