Skip to main content

OPS/RED (Gazelle)

qui cross-seeds between Orpheus (OPS) and Redacted (RED) using the trackers' Gazelle JSON APIs. For the general flow, start with the cross-seed overview.

TL;DR
  • For the best OPS/RED cross-seed coverage, enable Gazelle and set both API keys.
  • If you set only one key, Gazelle matching still works, but coverage is partial:
    • OPS-sourced torrents need the RED key because qui queries the opposite site
    • RED-sourced torrents need the OPS key because qui queries the opposite site
  • Library Scan (Seeded Torrent Search) can run in Gazelle-only mode without Torznab. Use an interval of 10+ seconds.
  • Search Cross-Seeds in the torrent list also works without Torznab indexers. It then asks only the Gazelle sites that have a key.

What it does​

If you enable Gazelle matching:

  • If a torrent comes from OPS or RED, qui queries only the opposite site (RED -> OPS, OPS -> RED).
  • If a torrent comes from another source, qui checks it against the Gazelle sites you configured.
  • qui asks Torznab and the Gazelle sites at the same time. qui removes the Torznab indexer of each OPS/RED site that has an API key from per-torrent searches (manual, completion, library scan). qui asks that site through its API instead. If you set only the RED key, qui keeps the OPS Torznab indexer, and the other way around.
  • qui asks the two Gazelle sites at the same time. In each search, qui waits 45 seconds at most for them. When a site does not answer in that time, qui returns the other results, and the site shows "failed: timed out". A Library Scan adds one failed row for that site and asks it again at the next run.
  • If qui cannot load the Torznab indexers, it still asks the OPS/RED sites that have a key. The search dialog then shows a note that Torznab failed. The Library Scan run history shows the error, and a completion search writes a warning to the log.
  • If Torznab is unavailable, qui still returns a successful empty result for a torrent that Gazelle handled. If a local prefilter proves the target tracker content is already present, qui sends no remote Gazelle request.

Gazelle support gives qui music-specific handling for OPS/RED. The tracker-native APIs search by Gazelle release metadata and source-specific infohashes. Direct Gazelle API use lets Gazelle-only scans run without a Torznab backend. qui paces API requests and tracks key coverage separately from Torznab indexer rules.

Content gate for non-OPS/RED torrents​

Before qui spends an API call on a non-OPS/RED torrent, it reads the torrent's file extensions. If most of the torrent's bytes are not audio, e-book, or comic files, qui skips the Gazelle query for that torrent. If a torrent is already on OPS or RED, it skips this gate because the source tracker proves that the content fits.

In a Library Scan, qui searches one copy of each group of duplicate copies. If any copy of the group is from OPS or RED, qui skips the gate for the group. qui asks only the Gazelle sites where no copy of the group seeds.

What each search shows​

Each search for one torrent reports one RED/OPS lookup for each site that has an API key: a match, no match, not asked with the reason, or failed with the reason. A site with no API key gets no lookup, and neither site gets one when Gazelle matching is off. qui then shows nothing about that site.

Search dialog​

The Indexers section of the Search Cross-Seeds dialog names the indexers that the next search asks. A RED or OPS site that has an API key shows as Redacted (API) or Orpheus (API). When a site has an API key, the dialog does not show the Torznab indexer of that site, because qui asks the site through its API.

To leave an indexer out of one search, select Change and clear its check box. If you select only Torznab indexers, the search asks no Gazelle site. If you select only Gazelle sites, the search asks no Torznab indexer.

Below the check boxes, the dialog lists each site that the search does not ask, with the reason:

TextMeaning
not asked: the torrent comes from RedactedThe torrent comes from that site. qui asks only the other site.
not asked: you already seed it thereA copy of the release already seeds on that site, or the instance already holds its content.

A site that is not asked because most of the bytes of the torrent are not audio, e-book, or comic files is in the line of indexers that do not support the content type.

If the site rejected the API key on the last search, its entry shows "will ask: the site rejected the API key last time". When Gazelle matching is on and no site has an API key, the dialog shows "RED/OPS is on, but no API key is set" with a link to the settings. The dialog also shows both when the list of check boxes is closed.

After the search, a site with a match shows the number of matches. A match from a Gazelle site shows Redacted (API) or Orpheus (API) as its indexer. If a lookup fails, the dialog shows the name of the site above the results, with "failed: the site rejected the API key", "failed: timed out", or "failed:" and the error.

The search report that you copy from the dialog has a RED/OPS: section with one line for each site that has an API key. When Gazelle matching is off or no site has an API key, the report has no RED/OPS: section. The report is there also when the search asked no Torznab indexer.

Library Scan​

Each run in Recent runs shows one RED/OPS line for the sites that have an API key, for example "RED/OPS: Redacted: 180 asked, 12 matched, 3 failed, 20 not asked (20 not music)". A run shows no RED/OPS line when Gazelle matching is off or no site has an API key. The run adds a row for each Gazelle match and for each failed lookup, with the name of the site. A site that found no match, or that the run did not ask, adds no row.

A completion search writes one log line for each Gazelle site that has an API key. The line is at Debug level, at Info for a match, and at Warn for a failure. When the completion search sends a notification, the notification has one RED/OPS line that names only those sites, for example "RED/OPS: Redacted not asked (the torrent comes from Redacted), Orpheus no match". When Gazelle matching is off or no site has an API key, the notification has no RED/OPS line.

When it applies​

qui detects OPS and RED sources by reading the announce URL:

  • RED announce host: flacsfor.me
  • OPS announce host: home.opsfet.ch

These map to the Gazelle API sites:

  • RED API host: redacted.sh
  • OPS API host: orpheus.network

Keys and coverage​

You can configure one key or both. What qui queries depends on what you seed.

  • If a torrent is sourced from OPS, qui searches for it on RED. That requires a RED key.
  • If a torrent is sourced from RED, qui searches for it on OPS. That requires an OPS key.

If you set only one key, expect this behavior:

  • Mixed OPS+RED libraries: some torrents return "no match" because qui cannot query the needed opposite site.
  • Non-OPS/RED torrents: qui queries whichever Gazelle sites you configured, one or both.

What happens if Gazelle is not configured​

If you disable Gazelle or set no API keys:

  • qui falls back to Torznab (Jackett/Prowlarr) where available
  • Gazelle-only modes (Torznab disabled) cannot run

How it matches​

In order:

  1. Infohash match with the Gazelle-style info["source"] swap logic (see nemorosa). qui tries the current source flag first (RED or OPS), then the flag the site used before its rename (PTH or APL). Uploads from before a rename still carry the old flag.
  2. Filename search plus exact total size

If the target tracker is down or returns an error, qui logs a warning, does not stamp the torrent's Gazelle cooldown, and continues the run. The torrent stays eligible for the next run.

Configuration​

UI: Settings > Indexers > Gazelle (OPS/RED), below the Torznab indexers

  • Enable Gazelle matching
  • Set one or both API keys
  • qui encrypts the keys at rest and redacts them in API and UI responses

Common issues​

"torznab disabled but gazelle not configured"​

You tried to run in Gazelle-only mode with Torznab disabled, but qui has no usable Gazelle client.

Fix:

  • Enable Gazelle
  • Set at least one API key
  • If you changed sessionSecret (or QUI__SESSION_SECRET), qui cannot decrypt the stored keys, and the key fields show as empty. Put the old sessionSecret back to use the stored keys again, or enter the keys again.
  • For the best OPS/RED coverage, set both keys

"OPS rejected the API key or this IP" or "RED rejected the API key or this IP"​

The tracker refused a request. The API key is wrong, or the tracker banned the IP address of qui. The text after the colon comes from the tracker.

qui checks a new key when you save it. It sends one request to the tracker. If the tracker refuses the key, qui does not save the settings and shows this message. If the check fails for another reason, for example the tracker does not answer or is rate limiting, qui saves the key and shows a warning that it could not check the key. qui does not check a key while Gazelle matching is off.

A ban can also start after you saved the key. When the tracker refuses a request during a search, qui sends no more requests to that tracker for the rest of the search. It keeps searching the other Gazelle site and Torznab. It does not stamp the Gazelle cooldown for the torrents it could not check, so they stay eligible for the next run. The run history shows the message. If that tracker was the only source of the run, the run ends as failed.

qui also opens a System notice for that site, for example "Orpheus rejected the API key". Each kind of search can open the notice: the search dialog, a Library Scan, and a completion search. Each site has its own notice. The Open Gazelle (OPS/RED) settings button of the notice opens the Gazelle (OPS/RED) card in the settings. The notice closes when one of these occurs:

  • You save a new key for that site, and the site accepts it.
  • A later lookup on that site gets an answer.
  • You clear the key of that site.
  • You turn Gazelle matching off.

Fix:

  • Check the API key for that tracker, and enter it again if necessary.
  • If the tracker banned your IP, contact the tracker staff. qui does not retry.

Only one key set​

This configuration works, but coverage is partial.

For example, if you set only the RED key:

  • qui can check OPS-sourced torrents against RED
  • qui cannot check RED-sourced torrents against OPS

Rate limiting​

qui rate-limits requests to OPS/RED and shares the limit across the whole qui process. Multiple qBittorrent instances do not multiply API pressure.

Gazelle and Torznab also differ in how qui applies time-based search constraints:

  • If you enable Torznab, Library Scan keeps the per-torrent interval floor of 60 seconds used for indexer searches.
  • If you disable Torznab and configure Gazelle, Library Scan can use a lower interval floor because requests go directly to the tracker APIs instead of through Torznab indexers.
  • qui stamps the Gazelle cooldown for a torrent when a Gazelle lookup completes, with or without a match. It also stamps it when Gazelle was enabled for the run but had nothing to look up for that torrent. Causes: the torrent failed the content gate, the local prefilter found the content, the target hash is already present, or a copy of the group seeds on each Gazelle site. A lookup that fails (tracker down, rate limited) does not stamp it, so the torrent stays eligible next run.
  • qui does not stamp the Gazelle cooldown when the API key for the target site is missing. If you add the key later, the next run searches the torrent on that site.
  • qui stamps Torznab cooldowns per indexer, and only for indexers that completed the search. An indexer that was rate limited or failed stays eligible on the next run.
  • After each search attempt, qui copies the representative torrent's Gazelle and per-indexer cooldown stamps to its duplicate torrents.

Library Scan without Torznab​

If you configure Gazelle, Seeded Torrent Search (Library Scan) can run with no enabled Torznab indexers.

In that mode:

  • qui still processes all source torrents
  • Matches come only from the configured Gazelle sites (RED/OPS)
  • You can lower the Library Scan interval below the Torznab floor, down to a minimum of 5 seconds. Actual request pacing still respects the shared OPS/RED API rate limits.
  • Use 10 seconds or more to reduce API pressure. The interval is per-torrent pacing, and each torrent can trigger multiple API calls.