struct

ArrJanitor::QueueItem

Inherits Struct < Value < Object

A single item in an *arr download queue, in ArrJanitor's own vocabulary so callers never touch the underlying sonarr/radarr model types.

Constructors

new(id : Int32 | Nil = nil, download_id : String | Nil = nil, download_client : String | Nil = nil, title : String | Nil = nil, episode_id : Int32 | Nil = nil, series_id : Int32 | Nil = nil, movie_id : Int32 | Nil = nil, status : String | Nil = nil)
Source

Instance methods

download_client

Name of the download client handling this item, as configured in the *arr (used to resolve credentials + connection info).

Source
download_id

The download client's identifier for the download (a torrent hash for qBittorrent).

Source
episode_id

Sonarr episode/series handles (Sonarr's queue is episode-based). nil for a Radarr item.

Source
id

Queue record id — the handle used to delete/blocklist the item.

Source
movie_id

Radarr movie handle (Radarr's queue is movie-based). nil for a Sonarr item.

Source
series_id
Source
status

Queue status (e.g. "downloading", "completed"), lower-cased schema value, or nil when the *arr didn't report one.

Source
title
Source