One day, I wanted to test a filter in Autobrr and got the filter set up. I uploaded a torrent and found out that my Autobrr had not been processing any releases for a couple of hours. Since the announce never went through to Autobrr, I could not simply just send the announce again. To test this filter, I did not want to keep reannouncing the torrent so I was looking for a way to test filters without uploading another torrent. Someone from Seedpool pointed me towards Autobrr’s custom indexer feature.
Official Autobrr documentation: https://autobrr.com/configuration/indexers#custom-indexer-definitions
Autobrr config
In your Autobrr configuration file, down near the bottom, add or uncomment the following line:
# Custom definitions
#
customDefinitions = "/home/$YOUR_USER/.config/autobrr/definitions"If you are using docker, it will be the following:
# Custom definitions
#
customDefinitions = "/config/definitions"Custom Definitions
For this example, I copied the Seedpool definition in to the definitions folder and changed it to my needs.
---
#id: seedpool
name: Seedpool-Test
identifier: seedpool-test
description: SeedPool is a private torrent tracker for 0DAY / GENERAL
language: en-us
urls:
- https://seedpool.org/
privacy: private
protocol: torrent
supports:
- irc
- rss
# source: UNIT3D
settings:
- name: rsskey
type: secret
required: true
label: RSS key (RID)
help: "Go to Settings > RSS Keys and then copy RSS Key (RID)"
irc:
network: Seedpool-Test
server: irc.seedpool.org
port: 6697
tls: true
channels:
- "#brrtest"
announcers:
- seedpool
- uploader
- Username
settings:
- name: nick
type: text
required: true
label: Nick
help: Bot nick. Eg. user_bot
parse:
type: single
lines:
- tests:
- line: 【 BoxSet 】 Some - Box Set (2023) S01 (2160p DSNP WEB-DL Hybrid H265 DV HDR DDP 5.1 English - GROUP) ჻ seedpool@https://seedpool.org/torrents/00000 ჻ 39.74 GiB
expect:
category: BoxSet
torrentName: Some - Box Set (2023) S01 (2160p DSNP WEB-DL Hybrid H265 DV HDR DDP 5.1 English - GROUP)
uploader: "seedpool"
baseUrl: https://seedpool.org/
torrentId: "00000"
torrentSize: 39.74 GiB
origin: ""
freeleech: ""
- line: 【 Music 】 Music.0-Day.FLAC.2024-11-24.seedpool ჻ seedpool@https://seedpool.org/torrents/00000 ჻ 56.73 GiB ჻ iNTERNAL ჻ ★
expect:
category: Music
torrentName: Music.0-Day.FLAC.2024-11-24.seedpool
uploader: "seedpool"
baseUrl: https://seedpool.org/
torrentId: "00000"
torrentSize: 56.73 GiB
origin: "iNTERNAL"
freeleech: "★"
- line: 【 Movie 】 Some Movie 2024 1080p BluRay REMUX AVC DTS-HD-MA 5 1-UnKn0wn ჻ seedpool@https://seedpool.org/torrents/00000 ჻ 17.85 GiB ჻ ★
expect:
category: Movie
torrentName: Some Movie 2024 1080p BluRay REMUX AVC DTS-HD-MA 5 1-UnKn0wn
uploader: "seedpool"
baseUrl: https://seedpool.org/
torrentId: "00000"
torrentSize: 17.85 GiB
origin: ""
freeleech: "★"
pattern: '^【 (.+?) 】 (.*?) ჻ (.*?)@(https:\/\/.*?\/)torrents/(\d+) ჻ ([^჻]+)(?: ჻ (iNTERNAL))?(?: ჻ (★))?$'
vars:
- category
- torrentName
- uploader
- baseUrl
- torrentId
- torrentSize
- origin
- freeleech
match:
infourl: "/torrents/{{ .torrentId }}"
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"Restart Autobrr for the definitions to take effect.
Once Autobrr has been restarted, you would add the new indexer and filter as normal. This is an excellent way to be able to test filters without having to make test uploads.