Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
subflux
command
Command subflux finds, syncs and keeps subtitles for a media library.
|
Command subflux finds, syncs and keeps subtitles for a media library. |
|
internal
|
|
|
app
Package app is subflux's composition root: the one boot path, the supervision of every long-running component, and the drain.
|
Package app is subflux's composition root: the one boot path, the supervision of every long-running component, and the drain. |
|
cache
Package cache provides a generic TTL cache with singleflight coalescing.
|
Package cache provides a generic TTL cache with singleflight coalescing. |
|
embedded
Package embedded detects embedded subtitle tracks in video files.
|
Package embedded detects embedded subtitle tracks in video files. |
|
epmarker
Package epmarker is the single authority for reading episode markers out of release names and archive member filenames.
|
Package epmarker is the single authority for reading episode markers out of release names and archive member filenames. |
|
formschema
Package formschema is the form-shaped half of every settings section: a schema of typed fields, the decoder that reads a section's YAML node by that schema, and the marks that tell the settings document which scalars are safe to show.
|
Package formschema is the form-shaped half of every settings section: a schema of typed fields, the decoder that reads a section's YAML node by that schema, and the marks that tell the settings document which scalars are safe to show. |
|
httpwire
Package httpwire holds subflux's own HTTP wire policy: the byte bounds it will read from a peer, and the vocabulary it classifies a peer's response with.
|
Package httpwire holds subflux's own HTTP wire policy: the byte bounds it will read from a peer, and the vocabulary it classifies a peer's response with. |
|
langcode
Package langcode maps any language identifier subflux meets — a provider payload, an ffprobe stream tag, an arr API response, a config file — onto the one internal code space, and is the only place that mapping happens.
|
Package langcode maps any language identifier subflux meets — a provider payload, an ffprobe stream tag, an arr API response, a config file — onto the one internal code space, and is the only place that mapping happens. |
|
logsafe
Package logsafe binds runesafe's single-line preset to Subflux's log surface, so every untrusted string reaches slog through one policy.
|
Package logsafe binds runesafe's single-line preset to Subflux's log surface, so every untrusted string reaches slog through one policy. |
|
obs
Package obs is subflux's /metrics registry: the platform series and the door every other owner's series registers through.
|
Package obs is subflux's /metrics registry: the platform series and the door every other owner's series registers through. |
|
provider
Package provider contains the provider registry and retry wrappers.
|
Package provider contains the provider registry and retry wrappers. |
|
provider/anidb
Package anidb provides TVDB → AniDB mapping using the community-maintained anime-list.xml from https://github.com/Anime-Lists/anime-lists.
|
Package anidb provides TVDB → AniDB mapping using the community-maintained anime-list.xml from https://github.com/Anime-Lists/anime-lists. |
|
provider/animetosho
Package animetosho implements the AnimeTosho subtitle provider.
|
Package animetosho implements the AnimeTosho subtitle provider. |
|
provider/archive
Package archive extracts a subtitle from a ZIP or RAR container.
|
Package archive extracts a subtitle from a ZIP or RAR container. |
|
provider/betaseries
Package betaseries implements the BetaSeries subtitle provider.
|
Package betaseries implements the BetaSeries subtitle provider. |
|
provider/classify
Package classify provides subtitle classification (forced/HI) and language resolution utilities consumed by provider sub-packages.
|
Package classify provides subtitle classification (forced/HI) and language resolution utilities consumed by provider sub-packages. |
|
provider/gestdown
Package gestdown implements the Gestdown subtitle provider.
|
Package gestdown implements the Gestdown subtitle provider. |
|
provider/hdbits
Package hdbits implements the HDBits.org subtitle provider.
|
Package hdbits implements the HDBits.org subtitle provider. |
|
provider/opensubtitles
Package opensubtitles implements the OpenSubtitles.com REST API provider.
|
Package opensubtitles implements the OpenSubtitles.com REST API provider. |
|
provider/subdl
Package subdl implements the SubDL subtitle provider.
|
Package subdl implements the SubDL subtitle provider. |
|
provider/subsource
Package subsource implements the SubSource subtitle provider.
|
Package subsource implements the SubSource subtitle provider. |
|
provider/synthetic
Package synthetic provides a subtitle provider that answers from generated data instead of an upstream service.
|
Package synthetic provides a subtitle provider that answers from generated data instead of an upstream service. |
|
provider/yifysubtitles
Package yifysubtitles implements the YIFY Subtitles provider.
|
Package yifysubtitles implements the YIFY Subtitles provider. |
|
search/release
Package release provides release name parsing via PCRE-compatible regex patterns sourced from TRaSH Guides and Sonarr/Radarr QualityParser.
|
Package release provides release name parsing via PCRE-compatible regex patterns sourced from TRaSH Guides and Sonarr/Radarr QualityParser. |
|
settings
Package settings loads, holds and saves subflux's one configuration file: each section parsed by its owner, the result a Snapshot that is Unconfigured, Failed or Active, never a configuration beside a flag.
|
Package settings loads, holds and saves subflux's one configuration file: each section parsed by its owner, the result a Snapshot that is Unconfigured, Failed or Active, never a configuration beside a flag. |
|
status
Package status holds what subflux is doing and what is wrong with it and its providers: jobs, alerts as levels and provider states.
|
Package status holds what subflux is doing and what is wrong with it and its providers: jobs, alerts as levels and provider states. |
|
status/statustest
Package statustest holds the contract every status.Persister meets and an in-memory reference implementation of it.
|
Package statustest holds the contract every status.Persister meets and an in-memory reference implementation of it. |
|
subflux
Package subflux is the application's wire and domain type vocabulary.
|
Package subflux is the application's wire and domain type vocabulary. |
|
subsync
Package subsync provides subtitle timing synchronization.
|
Package subsync provides subtitle timing synchronization. |
|
subsync/crosslang
Package crosslang implements cross-language subtitle alignment using anchor-based matching and dynamic programming.
|
Package crosslang implements cross-language subtitle alignment using anchor-based matching and dynamic programming. |
|
subsync/ffmpeg
Package ffmpeg provides low-level ffmpeg/ffprobe subprocess wrappers for stream probing, subtitle extraction, and PCM audio extraction.
|
Package ffmpeg provides low-level ffmpeg/ffprobe subprocess wrappers for stream probing, subtitle extraction, and PCM audio extraction. |
|
subsync/fft
Package fft provides a radix-2 Cooley-Tukey FFT implementation for cross-correlation in the subsync package.
|
Package fft provides a radix-2 Cooley-Tukey FFT implementation for cross-correlation in the subsync package. |
|
subsync/framerate
Package framerate provides framerate drift detection for subtitle alignment.
|
Package framerate provides framerate drift detection for subtitle alignment. |
|
subtitleenc
Package subtitleenc is the single authority for what encoding a subtitle's bytes are in and how to read them as UTF-8.
|
Package subtitleenc is the single authority for what encoding a subtitle's bytes are in and how to read them as UTF-8. |
|
subtitleext
Package subtitleext is the single authority for which file extensions count as subtitle files, exposed as capability-scoped views rather than one flat union.
|
Package subtitleext is the single authority for which file extensions count as subtitle files, exposed as capability-scoped views rather than one flat union. |
|
subtitlefile
Package subtitlefile owns the subtitle file on disk: what subflux names it, and what it will accept as its contents.
|
Package subtitlefile owns the subtitle file on disk: what subflux names it, and what it will accept as its contents. |
|
testrig
Package testrig is the in-process harness, Start running app.Run on a temp directory and a loopback listener, and holds the module-wide checks: the retired modules, the retained set the dead-code roots name, and import confinement.
|
Package testrig is the in-process harness, Start running app.Run on a temp directory and a loopback listener, and holds the module-wide checks: the retired modules, the retained set the dead-code roots name, and import confinement. |
Click to show internal directories.
Click to hide internal directories.