Skip to main content

3rd party tools

Cross-seed with autobrr

Heads up

This is meant for advanced users. If you're not familiar with cross-seed already, we suggest you read their documentation before you continue.

Don't expect any support for setting this up. If you need help setting up cross-seed, you need to reach out to them directly.

With this setup you can utilize autobrr with cross-seed to automatically cross-seed newly announced torrents from indexer Y that matches existing torrents in your torrent client from indexer X.

Install cross-seed and its dependencies

You can install cross-seed in several ways. Docker is recommended, but installing via npm or yarn (requires node 14 or greater) is also fine.

In this guide we will install it with npm. This method requires node 14 or greater. https://github.com/nodesource/distributions/blob/master/README.md#using-debian-as-root-3

# Elevate to root and install Node.js LTS (v18.x)
sudo su -
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - &&\
apt-get install -y nodejs

# Install cross-seed
npm install -g cross-seed

Generate config and make sure the port isn't exposed to the internet

# Generate a cross-seed config file
cross-seed gen-config

# Open the file
nano /home/$USER/.cross-seed/config.js

# Make sure the following parameters are set within the config

# You need to add at least one torznab URL from Prowlarr to the config for it to be valid
# They will not be used by autobrr

# outputDir needs to exist, but will not be used

torznab: [
"http://127.0.0.1:9696/1/api?apikey=APIKEY&tracker=Tracker1",
"http://127.0.0.1:9696/2/api?apikey=APIKEY&tracker=Tracker2"
],
torrentDir: "/home/$USER/.local/share/qBittorrent/BT_backup",
outputDir: "/home/$USER/torrentfiles",
action: "inject",
qbittorrentUrl: "http://user:pass@localhost:port",
Make sure the port is not exposed to the internet

Since cross-seed doesn't have API auth, we need to make sure its port isn't open to the internet. You can use iptables or UFW to solve this. Cross-seed daemon uses port 2468 by default.

sudo apt-get install iptables

iptables -A INPUT -p tcp --dport 2468 -s 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 2468 -j DROP

Start the cross-seed daemon

To make autobrr communicate with cross-seed, you need to run cross-seed in daemon mode. In this guide we will set up a systemd service. You can also set it up with screen or docker.

Systemd

touch /etc/systemd/system/cross-seed.service

You'll want to customize the following variables:

  • {user}: your user, or another user if you want to create a separate user for cross-seed
  • {group}: your group, or another group if you want to create a separate group for cross-seed
  • /path/to/node: run the command which node in your terminal, then paste the output here.
/etc/systemd/system/cross-seed.service
[Unit]
Description=cross-seed daemon
[Service]
User={user}
Group={group}
Restart=always
Type=simple
ExecStart=/path/to/node cross-seed daemon
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload # tell systemd to discover the unit file you just created
sudo systemctl enable cross-seed # enable it to run on restart
sudo systemctl start cross-seed # start the service
sudo journalctl -u cross-seed # view the logs

Create the cross-seed filter in autobrr

The way this works is you create a filter with a higher priority set than any other filter to make sure every cross-seed match is forwarded to the cross-seed daemon instead of being run through other filters.

  1. Create a filter and name it eg. cross-seed.

  2. Select all the indexers you want to use, preferably all of them.

  3. Set a really high priority to make sure it's always higher than your other filters.

  4. Go to the External tab, enable the Webhook switch, and add the following below it:

    Host: http://localhost:2468/api/announce
    Expected http status: 200
    Data (JSON):

    {
    "name": "{{ .TorrentName }}",
    "guid": "{{ .TorrentUrl }}",
    "link": "{{ .TorrentUrl }}",
    "tracker": "{{ .Indexer | js}}"
    }
  5. Go to the Actions tab and create a Test action. This is required for the webhook to work.

  6. Finally, make sure the filter is enabled and you're all set.

Cross-seed notifications

You can set up a Notifiarr or Apprise webhook for cross-seed notifications within the cross-seed config.

regbrr

Caution

This script is not officially supported, nor do we guarantee that we can help you make it work. You should understand how it works if you choose to use it.

Please do not contact the creator of this script for support, but feel free to ask in our Discord for community support.

This is a script that will take input for filters, then match them against a set of pre-defined strings. If it finds a match in the filter name, it will update the respective filter. This was rewritten this way because some users have 4K/4K DV filters and want them to match without introducing additional variables. By using a bash array, as declared on line 3, we are able to specify a number of filters and loop through them.

The script basically pulls anticipated and popular titles from a source, and then feeds them into your assigned filters.

Download the script

regbrr.sh can be found here

Installation

  1. Create the filters in autobrr. (here we use the examples of race-TV, race-TV4K, race-TVDV, race-Movies, race-Movies4K, race-MoviesDV, race-BluRay, race-BluRay4K, race-BluRayDV)
  2. Run the script.
  3. Setup the actions for each filter within autobrr.
  4. Setup a cronjob. (Anticipated releases are fully changed every 7 days.)

There are no warranties or guarantees when running this script. It is your responsibility to ensure that all domains resolve correctly and that your database doesn't get messed up.