Actions
Make sure you've set up a download client before continuing further.
A configured action is what autobrr will push a successful match to. Each filter supports multiple actions, just in case you need to send to multiple clients or run custom commands as well. Actions are configured in the Action tab inside your filter.
Whether you're adding, updating, or removing actions in a filter, remember to save the filter afterwards to ensure your changes take effect.
Macros
Many of the action fields have support for macros, which allow you to enhance your workflow significantly by providing custom logic/data processing to the input data provided by autobrr.
The macro section has been moved to its own page.
Supported actions
- qBittorrent
- Deluge (v1+ and v2)
- Transmission
- Porla
- Radarr
- Sonarr
- Lidarr
- Readarr
- Whisparr
- Save to watch folder
- Exec - Run custom commands
- Webhook - Post a payload to some http url
- Test (logs result if matched. Does not download torrent files)
qBittorrent
Send to one or multiple local or remote instances of qBittorrent.
Available options:
- Save path: optional
- Category: optional
- Tags: optional
If a category is set, then qBittorrent will control the save path. Override the save location by setting a save path if needed.
Rules:
- Limit download and upload speed: optional
Takes any integer as a number. Given inKiB/s
. - Ratio limit: optional
Takes any integer or floating point number with,
as decimal separator.
The downloaded torrent will be stopped when the ratio limit is reached. - Seed time limit: optional
Takes any integer as a number. Given in minutes. The downloaded torrent will be stopped when the seed time limit is reached. - Add paused: default false
- Content layout: optional
Tells qBittorrent if it should:- Keep the original torrent content layout,
- Create a subfolder for the downloaded torrent,
- Refrain from creating a subfolder.
- Ignore client rules: default false
Download the torrent even though the maximum active downloads configured in the client settings have been reached. - Skip hash check: default false
- Download first and last pieces first: default false
- Priority: optional
Choose between:- Top of queue
- Bottom of queue
- Disabled
When using the Priority feature, Torrent Queueing will be automatically enabled in qBit if it is disabled. Ensure you set your preferred limits for Torrent Queueing.
Built-in re-announce will make sure it works with initially broken trackers.
Deluge
Supports both v1+ and v2+ clients.
Send to one or multiple local or remote instances of Deluge.
Available options:
- Save path: optional
- Label: optional (must exist in Deluge in order to work)
- Add as paused: default false
- Skip hash check (v2 only): default false
Rules:
- Limit download and upload speed: optional
Takes any integer as a number. Given inKiB/s
.
rTorrent
Send to one or multiple local or remote instances of rTorrent.
Available options:
- Save path: optional
- Label: optional
Transmission
Send to one or multiple local or remote instances of Transmission.
Available options:
- Save Path: optional
- Add as Paused: default false
Porla
Send to one or multiple local or remote instances of Porla.
Available options:
- Save Path: optional
- Preset: A case-sensitive preset name as configured in Porla.
Rules:
- Limit download and upload speed: optional
Takes any integer as a number. Given inKiB/s
.
Radarr, Sonarr, Lidarr, Readarr and Whisparr
Autobrr supports the ability to push directly to the *arr suite of services. Both local and remote instances.
Select the type, and then the client. Read more about setup in download clients setup.
It could be useful to do some basic filtering.
See examples here.
Test
A simple action which will not download anything, but is useful for filter testing.
Watch Dir
For torrent clients not yet supported, the watch dir is the next best option.
By default, if you only specify the folder path (e.g., /home/USER/watch/
), it will use the temporary file format, such as autobrr-000.torrent
.
Watch Dir can utilize additional variables to dynamically build the file name. If you want to change the naming convention and, for example, include the indexer name and the torrent name, you can use the following format:
/home/user/torrent/torrent-backup/{{.Indexer}}-{{.TorrentName}}.torrent
If the indexer is called MockIndexer
and the release is Some.Release.2022.1080p.BluRay.x264.DTS-GROUP
, the generated file name will be MockIndexer-Some.Release.2022.1080p.BluRay.x264.DTS-GROUP.torrent
.
Custom Commands / Exec
For custom commands, it's best to specify the full path to the binary or program you want to run. This ensures that the command can be executed correctly, regardless of the user's environment. You can also include your own static variables to make the command more dynamic and flexible.
For example, you could use:
race-{{.Indexer}}/{{.Resolution}}
as a tag or category/Movies/{{.Resolution}}
as a save path
FTP / SFTP
Although autobrr does not have a native FTP upload action, you can achieve this functionality by using an Exec action and a tool like scp
.
Use the following command and arguments to set up an Exec action for FTP/SFTP uploads:
- Command:
scp
- Args:
{{ .TorrentPathName }} <username>@<hostname>:<destination path>