How morpheus65535/bazarr works
Bazarr manages subtitle requirements for shows and movies indexed by Sonarr and Radarr. Its main workflow is to synchronize that catalog, identify missing or upgradeable subtitles, search configured providers, download and process a selection, and retain history. Users can also search manually and manage subtitles through the UI. The tree shows API, integration, subtitle, and persistence areas; several subsystem links below are documented capabilities rather than verified calls, since most application source was not excerpted.
Main entry points: wanted Wanted subtitles · providers Provider search · download.py Subtitle download · sync Series sync
Components 22
User experience
- Web interface
frontend/src/App/index.tsx - API client
frontend/src/apis/raw/client.ts - HTTP API
bazarr/api - Manual search
bazarr/api/providers
Media catalog
- Series sync
bazarr/sonarr/sync - Movie sync
bazarr/radarr/sync - Series catalog
bazarr/sonarr - Movie catalog
bazarr/radarr
Subtitle workflow
- Wanted subtitles
bazarr/subtitles/wanted - Subtitle indexing
bazarr/subtitles/indexer - Provider search
custom_libs/subliminal_patch/providers - Subtitle download
bazarr/subtitles/download.py - Subtitle processing
bazarr/subtitles/processing.py - Subtitle upgrades
bazarr/subtitles/upgrade.py - Download history
bazarr/subtitles/refiners/arr_history.py
Application platform
- Language preferences
bazarr/languages - Application database
bazarr/app/database.py - Subtitle storage
custom_libs/subzero/subtitle_storage.py - Background jobs
bazarr/app/jobs_queue.py
Other components
- User
- Sonarr
- Radarr
Connections 21
- User → Web interface: uses
README.md - Web interface → API client: requests data
- API client → HTTP API: calls
- User → Manual search: searches manually
README.md - Sonarr → Series sync: provides series
README.md - Radarr → Movie sync: provides movies
README.md - Series sync → Series catalog: updates catalog
- Movie sync → Movie catalog: updates catalog
- Series catalog → Wanted subtitles: checks subtitles
- Movie catalog → Wanted subtitles: checks subtitles
- Wanted subtitles → Subtitle indexing: finds missing
- Subtitle indexing → Provider search: searches providers
- Manual search → Provider search: searches providers
- Provider search → Subtitle download: returns candidates
- Subtitle download → Subtitle processing: processes files
- Subtitle download → Download history: records download
- Subtitle upgrades → Provider search: searches replacements
- Language preferences → Wanted subtitles: sets requirements
- Subtitle processing → Subtitle storage: stores subtitle data
- Background jobs → Series sync: schedules sync
- Background jobs → Movie sync: schedules sync