module

ArrTop

arrtop — a top-like terminal UI for the Sonarr/Radarr download + import pipeline. It reads the *arr queue (typed, via the sonarr/radarr shards), sorts by what's actively importing, and renders progress bars — including import (copy) progress the *arr API does not report, read from the destination file on disk. That disk read means arrtop is meant to run *on the arr host.

Constants

VERSION = "0.3.5"

Class methods

setup_logging(level : Log::Severity = ::Log::Severity::Info, io : IO = STDERR) : Nil

Configures Crystal's Log for arrtop. Logs go to STDERR so the future TUI can own STDOUT for its rendering.

The level is pinned to Info for now — the CLI calls this with the default. Making the level configurable (via a CLI flag, an env var, or the config file) is deferred to a later phase; the level parameter already threads through so that wiring is a small change when it lands.

Source

Nested types