ArrJanitor::RadarrBackend
Inherits ArrJanitor::Backend < Reference < Object
Backend backed by the radarr shard. Wraps a Radarr::Client built from
a Config::Backend and maps Radarr's models onto ArrJanitor's structs.
Mirrors SonarrBackend, adapted to Radarr's movie domain: the queue is
movie-based (movieId), "released" means the movie is available, and the
re-search command is MoviesSearch.
Network errors are not swallowed: any failed Radarr request raises
(Radarr::ApiError) for the scheduler/janitor to log.
Constants
Page size used when walking the (paged) queue endpoint.
Constructors
Class methods
Whether movie is available, per Radarr's isAvailable flag (false when
the flag is absent).
Builds a DownloadClientInfo from a Radarr download-client resource,
reading host/port/useSsl/urlBase out of its fields.
Maps a Radarr queue record onto a QueueItem.
Instance methods
Deletes the queue record, removing it from the download client and adding it to the blocklist.
Resolves the Radarr download client named name to connection details
pulled from its fields array.
True when the item's movie is available — Radarr's notion of a movie
being released/available. Uses MovieResource#is_available (isAvailable),
which Radarr computes from the movie's status, minimum-availability setting,
and release dates — the direct analog of Sonarr's aired-episode check.