Get queue
Use this action to get all movies currently in the Radarr download queue, including their progress and details.
This action returns its result in a response variable, which you can use in later steps of the same automation or script, for example to notify yourself when a download finishes.
Using this action from the user interface
If you prefer building automations and scripts visually, Home Assistant walks you through this action step by step. You pick what to target, tweak a few options, and save. No YAML knowledge required.
To get the download queue from an automation or a script:
- Go to Settings > Automations & scenes.
- Open an existing automation or script, or select Create automation > Create new automation.
- If you’re setting up a new automation, add a trigger in the When section. Scripts don’t need a trigger. They run when something else calls them.
- In the Then do section, select Add action.
- From the search box, search for and select Radarr: Get queue.
- Select the Radarr entry to get the queue from. This is the Radarr connection you set up in Home Assistant. If you added more than one Radarr server, pick the one whose download queue you want. Optional: set Max items to limit how many queue items are returned.
- In the Response variable field, enter a name to store the queue data in, such as
queue. You’ll use this name to read the queue in later steps. - Select Save.
This action does not support targets. In the UI, you are not prompted to choose an area, device, entity, or label.
Options in the UI
The Radarr config entry to get the queue from. This is the Radarr connection you set up in Home Assistant. If you added more than one Radarr server, pick the one whose download queue you want.
Using this action in YAML
If you work directly in YAML, or you want to know exactly what Home Assistant does under the hood, this section has the technical reference. It lists the field names you use in YAML, their types, and which ones are required.
In YAML, refer to this action as radarr.get_queue. Store the result in a response variable so you can use it in later steps:
action: radarr.get_queue
data:
entry_id: 01234567890abcdef1234567890abcde
response_variable: queue
This fetches all movies in your Radarr download queue.
Options in YAML
The Radarr config entry to get the queue from. This is the Radarr connection you set up in Home Assistant. If you added more than one Radarr server, pick the one whose download queue you want.
Response data
The response contains a movies mapping, keyed by download title. Each queue item includes the following fields:
-
id: The internal queue item ID. -
movie_id: The internal Radarr movie ID. -
title: The movie title. -
download_title: The download release name. -
progress: The download progress percentage. -
size: The total download size in bytes. -
size_left: The remaining download size in bytes. -
status: The download status, such asdownloadingorqueued. -
tracked_download_status: The tracked download status. -
tracked_download_state: The tracked download state. -
download_client: The download client name. -
download_id: The download client’s ID for this download. -
indexer: The indexer name. -
protocol: The download protocol, such astorrentorusenet. -
estimated_completion_time: The estimated completion time. -
time_left: The time remaining. -
quality: The quality profile name, such asBluray-1080p. -
languages: A list of language names. -
custom_format_score: The custom format score. -
images: A mapping of image URLs by type, such as poster or fanart.
A shortened example of the response looks like this:
movies:
The.Matrix.1999.1080p.BluRay.x264:
id: 123456789
movie_id: 1
title: The Matrix
download_title: The.Matrix.1999.1080p.BluRay.x264
progress: "45.32%"
size: 8589934592
size_left: 4697620070
status: downloading
tracked_download_status: ok
tracked_download_state: downloading
quality: Bluray-1080p
languages:
- English
download_client: qBittorrent
indexer: My Indexer
protocol: torrent
estimated_completion_time: "2024-01-15T18:30:00Z"
time_left: "01:23:45"
Try it yourself
Ready to test this? Open Developer tools > Actions, search for this action, fill in the fields, and select Perform action. You see what happens on your actual entitiesAn entity represents a sensor, actor, or function in Home Assistant. Entities are used to monitor physical properties or to control other entities. An entity is usually part of a device or a service. [Learn more] without writing a line of YAML.
Still stuck?
The Home Assistant community is quick to help: join Discord for real-time chat, post on the community forum with the action you’re calling and what you expected to happen, or share on our subreddit /r/homeassistant.
AI assistants like ChatGPT or Claude can also explain actions or suggest the right one when you describe what you want in plain language.
Related actions
These actions work well alongside this one:
- Get movies: Gets all movies in Radarr with their details and status.